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

ci: hw: don't skip memory-intensive tests

This commit is contained in:
Martin Milata 2021-09-14 13:32:04 +02:00
parent 70bb0ee04f
commit 2687fd4ade

View File

@ -21,7 +21,6 @@ hardware core regular device test:
- core fw regular debug build - core fw regular debug build
variables: variables:
PYTEST_TIMEOUT: "1200" PYTEST_TIMEOUT: "1200"
TESTS_SKIP: "-k 'not 15_of_15'"
script: script:
- cd ci/hardware_tests - cd ci/hardware_tests
- set -a - set -a
@ -29,7 +28,7 @@ hardware core regular device test:
- set +a - set +a
- nix-shell --run "cd ../.. && poetry install" - nix-shell --run "cd ../.. && poetry install"
- nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin | ts -s" - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin | ts -s"
- nix-shell --run "poetry run pytest $TESTS_SKIP ../../tests/device_tests | ts -s" - nix-shell --run "poetry run pytest ../../tests/device_tests | ts -s"
timeout: 6h timeout: 6h
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
@ -51,7 +50,6 @@ hardware core btconly device test:
variables: variables:
TREZOR_PYTEST_SKIP_ALTCOINS: 1 TREZOR_PYTEST_SKIP_ALTCOINS: 1
PYTEST_TIMEOUT: "1200" PYTEST_TIMEOUT: "1200"
TESTS_SKIP: "-k 'not 15_of_15'"
script: script:
- cd ci/hardware_tests - cd ci/hardware_tests
- set -a - set -a
@ -59,7 +57,7 @@ hardware core btconly device test:
- set +a - set +a
- nix-shell --run "cd ../.. && poetry install" - nix-shell --run "cd ../.. && poetry install"
- nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin | ts -s" - nix-shell --run "poetry run python bootstrap.py tt ../../trezor-*.bin | ts -s"
- nix-shell --run "poetry run pytest $TESTS_SKIP ../../tests/device_tests | ts -s" - nix-shell --run "poetry run pytest ../../tests/device_tests | ts -s"
timeout: 4h timeout: 4h
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"