1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

ci: hw: skip sd_card tests on TT

This commit is contained in:
Martin Milata 2021-02-15 13:41:23 +01:00
parent 3213557f72
commit 99a858a774

View File

@ -30,27 +30,27 @@ hardware core regular device test:
- set +a
- 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 -m 'altcoin' ../../tests/device_tests/test_msg_[a-r]*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin and not sd_card' ../../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_signtx_[a-k]*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'altcoin and not sd_card' ../../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 pytest --random-order-bucket=none -x -m 'altcoin and not sd_card' ../../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 pytest --random-order-bucket=none -x -m 'altcoin and not sd_card' ../../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 pytest --random-order-bucket=none -x -m 'altcoin and not sd_card' ../../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 pytest --random-order-bucket=none -x -m 'not altcoin and not sd_card' $TESTS_SKIP ../../tests/device_tests/test_[^m]*.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[^s]*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'not altcoin and not sd_card' $TESTS_SKIP ../../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_msg_[a-r]*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'not altcoin and not sd_card' $TESTS_SKIP ../../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 'not altcoin' $TESTS_SKIP ../../tests/device_tests/test_msg_signt*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'not altcoin and not sd_card' $TESTS_SKIP ../../tests/device_tests/test_msg_signt*.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_msg_sign[^t]*.py ../../tests/device_tests/test_msg_s[^i]*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'not altcoin and not sd_card' $TESTS_SKIP ../../tests/device_tests/test_msg_sign[^t]*.py ../../tests/device_tests/test_msg_s[^i]*.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_msg_[t-z]*.py"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x -m 'not altcoin and not sd_card' $TESTS_SKIP ../../tests/device_tests/test_msg_[t-z]*.py"
timeout: 4h
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
@ -79,7 +79,7 @@ hardware core btconly device test:
- set +a
- 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'"
- nix-shell --run "poetry run pytest --random-order-bucket=none -x ../../tests/device_tests -m 'not sd_card' -k 'not 15_of_15 and not test_multisig_mismatch_inputs'"
timeout: 3h
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"