forked from trezor/trezor-firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
/
posttest.yml
46 lines (43 loc) · 1.03 KB
/
posttest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-env.nix
# Caching
.gitlab_caching: &gitlab_caching
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .venv/
core unix coverage posttest:
stage: posttest
variables:
COVERAGE_THRESHOLD: "78"
<<: *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:
- core/.coverage.*
- core/htmlcov
when: always
expire_in: 1 week
unix ui changes:
stage: posttest
except:
- master
<<: *gitlab_caching
needs:
- core device test
- legacy device test
script:
- nix-shell --run "cd tests/ui_tests ; poetry run python reporting/report_master_diff.py TT_ T1_"
- mv tests/ui_tests/reporting/reports/master_diff/ .
artifacts:
name: core-unix-ui-changes
paths:
- master_diff
expire_in: 1 week