1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

ci/test: fix coverage by moving the files to correct subdir

This commit is contained in:
Pavol Rusnak 2020-07-06 19:51:28 +02:00
parent e6889245e8
commit 8d94b13d3a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -39,7 +39,7 @@ core device test:
TREZOR_PROFILING: 1 TREZOR_PROFILING: 1
script: script:
- nix-shell --run "pipenv run make -C core test_emu" - nix-shell --run "pipenv run make -C core test_emu"
- mv ./core/src/.coverage .coverage.test_emu - mv core/src/.coverage core/.coverage.test_emu
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:
@ -78,7 +78,7 @@ core monero test:
TREZOR_PROFILING: 1 TREZOR_PROFILING: 1
script: script:
- nix-shell --run "pipenv run make -C core test_emu_monero" - nix-shell --run "pipenv run make -C core test_emu_monero"
- mv ./core/src/.coverage .coverage.test_emu_monero - mv core/src/.coverage core/.coverage.test_emu_monero
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:
@ -96,7 +96,7 @@ core u2f test:
script: script:
- nix-shell --run "pipenv run make -C tests/fido_tests/u2f-tests-hid" - nix-shell --run "pipenv run make -C tests/fido_tests/u2f-tests-hid"
- nix-shell --run "pipenv run make -C core test_emu_u2f" - nix-shell --run "pipenv run make -C core test_emu_u2f"
- mv ./core/src/.coverage .coverage.test_emu_u2f - mv core/src/.coverage core/.coverage.test_emu_u2f
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:
@ -115,7 +115,7 @@ core fido2 test:
- pgrep micropython || true - pgrep micropython || true
- nix-shell --run "pipenv run make -C core test_emu_fido2" - nix-shell --run "pipenv run make -C core test_emu_fido2"
- pgrep micropython || true - pgrep micropython || true
- mv ./core/src/.coverage .coverage.test_emu_fido2 - mv core/src/.coverage core/.coverage.test_emu_fido2
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths: