From 0a75e023920bc3a1b364b10b1a9033d9149fb735 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Fri, 4 Dec 2020 17:26:55 +0100 Subject: [PATCH] ci: skip some tests that cause alloc failure Also increase PYTEST_TIMEOUT so that test_lots_of_inputs has enough time to pass. --- ci/test.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ci/test.yml b/ci/test.yml index 8db0fbbce..ea9f70bb1 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -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