mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-12 22:26:08 +00:00
ci: add timeouts for legacy.yml
This commit is contained in:
parent
edeea3bf65
commit
24f3e3ff24
5
.github/workflows/legacy.yml
vendored
5
.github/workflows/legacy.yml
vendored
@ -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: 30
|
||||||
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' }}
|
||||||
|
TESTOPTS: "--timeout 120"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -148,6 +150,7 @@ 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"]') }}
|
||||||
@ -164,7 +167,7 @@ jobs:
|
|||||||
- run: chmod +x legacy/firmware/*.elf
|
- run: chmod +x legacy/firmware/*.elf
|
||||||
- uses: ./.github/actions/environment
|
- uses: ./.github/actions/environment
|
||||||
- run: nix-shell --run "tests/download_emulators.sh"
|
- run: nix-shell --run "tests/download_emulators.sh"
|
||||||
- run: nix-shell --run "poetry run pytest tests/upgrade_tests"
|
- run: nix-shell --run "poetry run pytest --timeout 120 tests/upgrade_tests"
|
||||||
|
|
||||||
legacy_hwi_test:
|
legacy_hwi_test:
|
||||||
name: HWI test
|
name: HWI test
|
||||||
|
Loading…
Reference in New Issue
Block a user