1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-26 08:29:26 +00:00

ci: add timeouts for legacy.yml

This commit is contained in:
Martin Milata 2025-03-06 15:52:03 +01:00 committed by M1nd3r
parent dd024d99a4
commit d513936a8b

View File

@ -4,10 +4,10 @@ on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: '35 22 * * *' # every day @ 22:35 - cron: "35 22 * * *" # every day @ 22:35
push: push:
branches: branches:
- 'release/**' - "release/**"
# cancel any previous runs on the same PR # cancel any previous runs on the same PR
concurrency: concurrency:
@ -168,7 +168,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