1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
trezor-firmware/ci/posttest.yml

47 lines
1.0 KiB
YAML
Raw Normal View History

2020-06-07 19:49:06 +00:00
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-env.nix
2021-11-24 12:24:10 +00:00
# Caching
.gitlab_caching: &gitlab_caching
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .venv/
core unix coverage posttest:
stage: posttest
variables:
COVERAGE_THRESHOLD: "78"
2021-11-24 12:24:10 +00:00
<<: *gitlab_caching
needs:
- core device test
- core monero test
- core u2f test
- core fido2 test
script:
- nix-shell --run "poetry run make -C core coverage"
coverage: '/COVERAGE: \d+%/'
artifacts:
name: core-unix-coverage-posttest
paths:
2020-11-09 17:52:34 +00:00
- core/.coverage.*
- core/htmlcov
when: always
expire_in: 1 week
unix ui changes:
stage: posttest
except:
- master
2021-11-24 12:24:10 +00:00
<<: *gitlab_caching
needs:
- core device test
- legacy device test
script:
2022-03-31 17:16:59 +00:00
- nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py TT_ T1_"
2020-06-07 19:49:06 +00:00
- mv tests/ui_tests/reporting/reports/master_diff/ .
artifacts:
name: core-unix-ui-changes
paths:
2020-11-09 17:52:34 +00:00
- master_diff
expire_in: 1 week