mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
feat(ci): generate artifacts for legacy test
This commit is contained in:
parent
5b0be3273e
commit
5ab93ab812
13
ci/test.yml
13
ci/test.yml
@ -414,14 +414,23 @@ legacy test:
|
|||||||
EMULATOR: "1"
|
EMULATOR: "1"
|
||||||
script:
|
script:
|
||||||
- nix-shell --run "poetry run make -C legacy test_emu_ui | ts -s"
|
- nix-shell --run "poetry run make -C legacy test_emu_ui | 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 | ts -s"
|
||||||
|
- diff tests/ui_tests/fixtures.json tests/ui_tests/fixtures.suggestion.json
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
||||||
paths:
|
paths:
|
||||||
|
- ci/ui_test_records/
|
||||||
|
- test_ui_report
|
||||||
|
- tests/ui_tests/screens/
|
||||||
|
- tests/ui_tests/fixtures.suggestion.json
|
||||||
- tests/junit.xml
|
- tests/junit.xml
|
||||||
|
- tests/trezor.log
|
||||||
|
when: always
|
||||||
|
expire_in: 1 week
|
||||||
reports:
|
reports:
|
||||||
junit: tests/junit.xml
|
junit: tests/junit.xml
|
||||||
expire_in: 1 week
|
|
||||||
when: always
|
|
||||||
|
|
||||||
legacy asan test:
|
legacy asan test:
|
||||||
stage: test
|
stage: test
|
||||||
|
Loading…
Reference in New Issue
Block a user