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

pull/1844/head
Martin Milata 3 years ago
parent 70bb0ee04f
commit 2687fd4ade

@ -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"

Loading…
Cancel
Save