From 5259326c0a50f823d59f4e6d98d9eb0620537709 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 10 Feb 2025 13:42:30 +0200 Subject: [PATCH] test(core): use `TESTOPTS` in `core-hw.yml` run step Otherwise, the problematic tests seem to be running in CI: https://github.com/trezor/trezor-firmware/actions/runs/13230566082/job/36927073823 [no changelog] --- .github/workflows/core-hw.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/core-hw.yml b/.github/workflows/core-hw.yml index cdeae38e60..28b38e8f55 100644 --- a/.github/workflows/core-hw.yml +++ b/.github/workflows/core-hw.yml @@ -52,7 +52,7 @@ jobs: - run: | # log serial console to file; sleep is used because tio needs stdin that is not /dev/null nix-shell --arg hardwareTest true --run "sleep 8h | tio --no-autoconnect /dev/ttyTREZOR &> trezor.log" & - nix-shell --run "poetry run pytest -v tests/device_tests" + nix-shell --run "poetry run pytest -v tests/device_tests $TESTOPTS" - run: tail -n50 trezor.log || true if: failure() - uses: actions/upload-artifact@v4