1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-23 17:28:46 +00:00

ci: add timeouts for legacy.yml

This commit is contained in:
Martin Milata 2025-03-06 15:52:03 +01:00
parent 3bccf2d8f7
commit ff15b13a9c

View File

@ -113,6 +113,7 @@ jobs:
name: Device test name: Device test
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: legacy_emu needs: legacy_emu
timeout-minutes: 20
strategy: strategy:
matrix: matrix:
coins: [universal, btconly] coins: [universal, btconly]
@ -120,6 +121,7 @@ jobs:
env: env:
EMULATOR: 1 EMULATOR: 1
TREZOR_PYTEST_SKIP_ALTCOINS: ${{ matrix.coins == 'universal' && '0' || '1' }} TREZOR_PYTEST_SKIP_ALTCOINS: ${{ matrix.coins == 'universal' && '0' || '1' }}
PYTEST_TIMEOUT: 120
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -148,11 +150,13 @@ jobs:
name: Upgrade test name: Upgrade test
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: legacy_emu needs: legacy_emu
timeout-minutes: 10
strategy: strategy:
matrix: matrix:
asan: ${{ fromJSON(github.event_name == 'schedule' && '["noasan", "asan"]' || '["noasan"]') }} asan: ${{ fromJSON(github.event_name == 'schedule' && '["noasan", "asan"]' || '["noasan"]') }}
env: env:
TREZOR_UPGRADE_TEST: legacy TREZOR_UPGRADE_TEST: legacy
PYTEST_TIMEOUT: 120
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with: