2020-06-07 19:49:06 +00:00
|
|
|
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-env.nix
|
2019-05-27 12:17:43 +00:00
|
|
|
|
|
|
|
core unix coverage posttest:
|
|
|
|
stage: posttest
|
2020-08-13 16:37:43 +00:00
|
|
|
variables:
|
|
|
|
COVERAGE_THRESHOLD: "78"
|
2020-10-06 19:59:22 +00:00
|
|
|
needs:
|
|
|
|
- core device test
|
|
|
|
- core monero test
|
|
|
|
- core u2f test
|
|
|
|
- core fido2 test
|
2019-05-27 12:17:43 +00:00
|
|
|
script:
|
2020-09-25 14:21:23 +00:00
|
|
|
- nix-shell --run "poetry run make -C core coverage"
|
2020-08-13 16:37:43 +00:00
|
|
|
coverage: '/COVERAGE: \d+%/'
|
2019-05-27 12:17:43 +00:00
|
|
|
artifacts:
|
|
|
|
name: core-unix-coverage-posttest
|
|
|
|
paths:
|
2020-11-09 17:52:34 +00:00
|
|
|
- core/.coverage.*
|
|
|
|
- core/htmlcov
|
2020-08-13 16:37:43 +00:00
|
|
|
when: always
|
2019-05-27 12:17:43 +00:00
|
|
|
expire_in: 1 week
|
2020-03-03 14:50:57 +00:00
|
|
|
|
|
|
|
core unix ui changes:
|
|
|
|
stage: posttest
|
|
|
|
except:
|
|
|
|
- master
|
2020-10-06 19:59:22 +00:00
|
|
|
needs:
|
|
|
|
- core device ui test
|
2020-03-03 14:50:57 +00:00
|
|
|
script:
|
2020-09-25 14:21:23 +00:00
|
|
|
- nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py"
|
2020-06-07 19:49:06 +00:00
|
|
|
- mv tests/ui_tests/reporting/reports/master_diff/ .
|
2020-03-03 14:50:57 +00:00
|
|
|
artifacts:
|
|
|
|
name: core-unix-ui-changes
|
|
|
|
paths:
|
2020-11-09 17:52:34 +00:00
|
|
|
- master_diff
|
2020-03-03 14:50:57 +00:00
|
|
|
expire_in: 1 week
|