1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00
trezor-firmware/ci/posttest.yml

30 lines
879 B
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
core unix coverage posttest:
stage: posttest
needs: ["core device test", "core monero test", "core u2f test", "core fido2 test"]
script:
2020-06-07 19:49:06 +00:00
- nix-shell --run "pipenv run make -C core res" # we need to regenerate resources.py
- nix-shell --run "pipenv run make -C core coverage"
coverage: '/>\d+%</'
artifacts:
name: core-unix-coverage-posttest
paths:
- core/.coverage.*
- core/htmlcov
expire_in: 1 week
core unix ui changes:
stage: posttest
except:
- master
needs: ["core device ui test"]
script:
2020-06-07 19:49:06 +00:00
- nix-shell --run "cd tests/ui_tests ; pipenv run python reporting/report_master_diff.py"
- mv tests/ui_tests/reporting/reports/master_diff/ .
artifacts:
name: core-unix-ui-changes
paths:
- master_diff
expire_in: 1 week