Skip to content

Commit

Permalink
ci: add timeouts for legacy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmilata committed Mar 6, 2025
1 parent 40dac7b commit 97a9ca8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,15 @@ jobs:
name: Device test
runs-on: ubuntu-latest
needs: legacy_emu
timeout-minutes: 20
strategy:
matrix:
coins: [universal, btconly]
asan: ${{ fromJSON(github.event_name == 'schedule' && '["noasan", "asan"]' || '["noasan"]') }}
env:
EMULATOR: 1
TREZOR_PYTEST_SKIP_ALTCOINS: ${{ matrix.coins == 'universal' && '0' || '1' }}
TESTOPTS: "--timeout 120"
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -148,6 +150,7 @@ jobs:
name: Upgrade test
runs-on: ubuntu-latest
needs: legacy_emu
timeout-minutes: 10
strategy:
matrix:
asan: ${{ fromJSON(github.event_name == 'schedule' && '["noasan", "asan"]' || '["noasan"]') }}
Expand All @@ -164,7 +167,7 @@ jobs:
- run: chmod +x legacy/firmware/*.elf
- uses: ./.github/actions/environment
- 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:
name: HWI test
Expand Down

0 comments on commit 97a9ca8

Please sign in to comment.