|
|
|
@ -306,6 +306,7 @@ storage test:
|
|
|
|
|
when: always
|
|
|
|
|
|
|
|
|
|
# Hardware
|
|
|
|
|
|
|
|
|
|
hardware core btconly device test:
|
|
|
|
|
stage: test
|
|
|
|
|
only:
|
|
|
|
@ -316,7 +317,11 @@ hardware core btconly device test:
|
|
|
|
|
- /^hw\//
|
|
|
|
|
tags:
|
|
|
|
|
- tpmb
|
|
|
|
|
needs: ["core fw btconly debug build"]
|
|
|
|
|
needs:
|
|
|
|
|
- core fw btconly debug build
|
|
|
|
|
variables:
|
|
|
|
|
TREZOR_PYTEST_SKIP_ALTCOINS: 1
|
|
|
|
|
PYTEST_TIMEOUT: "1200"
|
|
|
|
|
script:
|
|
|
|
|
- cd ci/hardware_tests
|
|
|
|
|
- nix-shell --run "cd ../.. && poetry install"
|
|
|
|
@ -324,7 +329,7 @@ hardware core btconly device test:
|
|
|
|
|
- export TREZOR_PATH=$(./get_trezor_path.sh 'Trezor T')
|
|
|
|
|
- nix-shell --run "echo $TREZOR_PATH"
|
|
|
|
|
- nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin"
|
|
|
|
|
- nix-shell --run "poetry run pytest ../../tests/device_tests"
|
|
|
|
|
- nix-shell --run "poetry run pytest ../../tests/device_tests -m 'not sd_card' -k 'not 15_of_15 and not test_multisig_mismatch_inputs'"
|
|
|
|
|
timeout: 4h
|
|
|
|
|
artifacts:
|
|
|
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
|
|
|
|
@ -377,6 +382,8 @@ hardware legacy btconly device test:
|
|
|
|
|
expire_in: 2 days
|
|
|
|
|
when: always
|
|
|
|
|
|
|
|
|
|
# Memory profiling
|
|
|
|
|
|
|
|
|
|
core unix memory profiler:
|
|
|
|
|
stage: test
|
|
|
|
|
when: manual
|
|
|
|
|