1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 00:48:19 +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 when: always
# Hardware # Hardware
hardware core btconly device test: hardware core btconly device test:
stage: test stage: test
only: only:
@ -316,7 +317,11 @@ hardware core btconly device test:
- /^hw\// - /^hw\//
tags: tags:
- tpmb - tpmb
needs: ["core fw btconly debug build"] needs:
- core fw btconly debug build
variables:
TREZOR_PYTEST_SKIP_ALTCOINS: 1
PYTEST_TIMEOUT: "1200"
script: script:
- cd ci/hardware_tests - cd ci/hardware_tests
- nix-shell --run "cd ../.. && poetry install" - nix-shell --run "cd ../.. && poetry install"
@ -324,7 +329,7 @@ hardware core btconly device test:
- export TREZOR_PATH=$(./get_trezor_path.sh 'Trezor T') - export TREZOR_PATH=$(./get_trezor_path.sh 'Trezor T')
- nix-shell --run "echo $TREZOR_PATH" - nix-shell --run "echo $TREZOR_PATH"
- nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" - 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 timeout: 4h
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
@ -377,6 +382,8 @@ hardware legacy btconly device test:
expire_in: 2 days expire_in: 2 days
when: always when: always
# Memory profiling
core unix memory profiler: core unix memory profiler:
stage: test stage: test
when: manual when: manual