1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-24 16:38:15 +00:00

ci: skip some tests that cause alloc failure

Also increase PYTEST_TIMEOUT so that test_lots_of_inputs has enough time
to pass.
This commit is contained in:
Martin Milata 2020-12-04 17:26:55 +01:00
parent dedca1bb13
commit 0a75e02392

View File

@ -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