|
|
|
@ -89,14 +89,14 @@ core device R test:
|
|
|
|
|
variables:
|
|
|
|
|
TREZOR_PROFILING: "1"
|
|
|
|
|
TREZOR_MODEL: "R"
|
|
|
|
|
MULTICORE: 4 # more could interfere with other jobs
|
|
|
|
|
script:
|
|
|
|
|
- nix-shell --run "poetry run make -C core test_emu_ui | ts -s"
|
|
|
|
|
- $NIX_SHELL --run "poetry run make -C core test_emu_ui_multicore | ts -s"
|
|
|
|
|
after_script:
|
|
|
|
|
- mv tests/ui_tests/reporting/reports/test/ test_ui_report
|
|
|
|
|
- nix-shell --run "poetry run python ci/prepare_ui_artifacts.py TR | ts -s"
|
|
|
|
|
- diff tests/ui_tests/fixtures.json tests/ui_tests/fixtures.suggestion.json
|
|
|
|
|
- nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py TR_"
|
|
|
|
|
- mv tests/ui_tests/reporting/reports/master_diff/ .
|
|
|
|
|
- mv core/src/.coverage.* core # there will be more coverage files (one per core)
|
|
|
|
|
- mv tests/ui_tests/reports/test/ test_ui_report
|
|
|
|
|
- $NIX_SHELL --run "poetry run python ci/prepare_ui_artifacts.py | ts -s"
|
|
|
|
|
- diff -u tests/ui_tests/fixtures.json tests/ui_tests/fixtures.suggestion.json
|
|
|
|
|
artifacts:
|
|
|
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
|
|
|
|
paths:
|
|
|
|
@ -106,9 +106,9 @@ core device R test:
|
|
|
|
|
- tests/ui_tests/fixtures.suggestion.json
|
|
|
|
|
- tests/junit.xml
|
|
|
|
|
- tests/trezor.log
|
|
|
|
|
- master_diff
|
|
|
|
|
- core/.coverage.*
|
|
|
|
|
when: always
|
|
|
|
|
expire_in: 4 weeks
|
|
|
|
|
expire_in: 1 week
|
|
|
|
|
reports:
|
|
|
|
|
junit: tests/junit.xml
|
|
|
|
|
|
|
|
|
|