From ff15b13a9cecd4e59bcefd17f0d892fc891d4519 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 6 Mar 2025 15:52:03 +0100 Subject: [PATCH] ci: add timeouts for legacy.yml --- .github/workflows/legacy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index 700962b6f6..77a8175449 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -113,6 +113,7 @@ jobs: name: Device test runs-on: ubuntu-latest needs: legacy_emu + timeout-minutes: 20 strategy: matrix: coins: [universal, btconly] @@ -120,6 +121,7 @@ jobs: env: EMULATOR: 1 TREZOR_PYTEST_SKIP_ALTCOINS: ${{ matrix.coins == 'universal' && '0' || '1' }} + PYTEST_TIMEOUT: 120 steps: - uses: actions/checkout@v4 with: @@ -148,11 +150,13 @@ 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"]') }} env: TREZOR_UPGRADE_TEST: legacy + PYTEST_TIMEOUT: 120 steps: - uses: actions/checkout@v4 with: