Skip to content

Commit

Permalink
ci(core): cancel hardware tests before CI job timeout
Browse files Browse the repository at this point in the history
Otherwise, failed tests' logs are not shown.

[no changelog]
  • Loading branch information
romanz committed Feb 11, 2025
1 parent b55a943 commit 178f277
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/core-hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 178f277

Please sign in to comment.