From 17494b2276073057031b022c844f79769a1013ed Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Wed, 10 Feb 2021 23:21:30 +0100 Subject: [PATCH] ci: reboot more often during hardware regular test --- ci/test-hw.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ci/test-hw.yml b/ci/test-hw.yml index 0c92c6b014..867e53fbce 100644 --- a/ci/test-hw.yml +++ b/ci/test-hw.yml @@ -32,7 +32,13 @@ hardware core regular device test: - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin' ../../tests/device_tests/test_msg_[a-r]*.py" - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" - - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin' ../../tests/device_tests/test_msg_[s-z]*.py ../../tests/device_tests/test_[^m]*.py ../../tests/device_tests/test_m[^s]*.py" + - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin' ../../tests/device_tests/test_msg_signtx_[a-k]*.py" + - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" + - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin' ../../tests/device_tests/test_msg_signtx_[l-z]*.py" + - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" + - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin' ../../tests/device_tests/test_msg_sign[^t]*.py ../../tests/device_tests/test_msg_s[^i]*.py ../../tests/device_tests/test_msg_[t-z]*.py" + - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" + - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin' ../../tests/device_tests/test_[^m]*.py ../../tests/device_tests/test_m[^s]*.py" - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" - nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'not altcoin' $TESTS_SKIP ../../tests/device_tests/test_[^m]*.py" - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" @@ -74,7 +80,7 @@ hardware core btconly device test: - nix-shell --run "cd ../.. && poetry install" - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin" - nix-shell --run "poetry run pytest --random-order-bucket=none -x ../../tests/device_tests -k 'not 15_of_15 and not test_multisig_mismatch_inputs'" - timeout: 4h + timeout: 3h artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" expire_in: 2 days