From 5ab93ab8128bc017ba752a91b50e2bb6179816ee Mon Sep 17 00:00:00 2001 From: grdddj Date: Tue, 8 Feb 2022 19:12:52 +0100 Subject: [PATCH] feat(ci): generate artifacts for legacy test --- ci/test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ci/test.yml b/ci/test.yml index 7f87b56db..7af9246de 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -414,14 +414,23 @@ legacy test: EMULATOR: "1" script: - 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: name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" paths: + - ci/ui_test_records/ + - test_ui_report + - tests/ui_tests/screens/ + - tests/ui_tests/fixtures.suggestion.json - tests/junit.xml + - tests/trezor.log + when: always + expire_in: 1 week reports: junit: tests/junit.xml - expire_in: 1 week - when: always legacy asan test: stage: test