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
|
|
|
|
2021-11-24 12:24:10 +00:00
|
|
|
# Caching
|
|
|
|
.gitlab_caching: &gitlab_caching
|
|
|
|
cache:
|
|
|
|
key: "$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- .venv/
|
|
|
|
|
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"
|
2021-11-24 12:24:10 +00:00
|
|
|
<<: *gitlab_caching
|
2020-10-06 19:59:22 +00:00
|
|
|
needs:
|
2023-01-30 13:41:09 +00:00
|
|
|
- core click test
|
2020-10-06 19:59:22 +00:00
|
|
|
- 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
|
|
|
|
2022-02-09 13:34:22 +00:00
|
|
|
unix ui changes:
|
2020-03-03 14:50:57 +00:00
|
|
|
stage: posttest
|
|
|
|
except:
|
|
|
|
- master
|
2021-11-24 12:24:10 +00:00
|
|
|
<<: *gitlab_caching
|
2020-10-06 19:59:22 +00:00
|
|
|
needs:
|
2023-01-30 13:41:09 +00:00
|
|
|
- core click test
|
2022-02-08 12:46:18 +00:00
|
|
|
- core device test
|
2022-02-09 13:34:22 +00:00
|
|
|
- legacy device test
|
2020-03-03 14:50:57 +00:00
|
|
|
script:
|
2023-01-30 13:41:09 +00:00
|
|
|
- nix-shell --run "poetry run python -m tests.ui_tests.reporting master-diff"
|
|
|
|
- mv tests/ui_tests/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
|