From 178f2775d3a7cd718cf1e1f6f26aaad200289bc0 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 11 Feb 2025 14:48:59 +0200 Subject: [PATCH] ci(core): cancel hardware tests before CI job timeout Otherwise, failed tests' logs are not shown. [no changelog] --- .github/workflows/core-hw.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/core-hw.yml b/.github/workflows/core-hw.yml index 926c737bc9..0b233085c0 100644 --- a/.github/workflows/core-hw.yml +++ b/.github/workflows/core-hw.yml @@ -34,12 +34,13 @@ jobs: TREZOR_MODEL: ${{ matrix.model }} BITCOIN_ONLY: ${{ matrix.coins == 'btconly' && '1' || '0' }} TREZOR_PYTEST_SKIP_ALTCOINS: ${{ matrix.coins == 'btconly' && '1' || '0' }} - PYTEST_TIMEOUT: 1200 + PYTEST_TIMEOUT: 1200 # 20m single test timeout PYOPT: 0 DISABLE_OPTIGA: 1 BOOTLOADER_DEVEL: ${{ matrix.model == 'T2B1' && '1' || '0' }} - TESTOPTS: "-k 'not authenticate and not recovery and not lots'" + TESTOPTS: "-k 'not authenticate and not recovery and not lots' --session-timeout 19800" # 5.5h pytest global timeout TT_UHUB_PORT: 1 + timeout-minutes: 360 # 6h CI job timeout steps: - uses: actions/checkout@v4 with: