mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-21 00:08:46 +00:00
ci: add timeouts for legacy.yml
This commit is contained in:
parent
fb98a02be6
commit
1a45adfb4a
14
.github/workflows/legacy.yml
vendored
14
.github/workflows/legacy.yml
vendored
@ -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:
|
||||||
@ -15,9 +15,9 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write # for fetching the OIDC token
|
id-token: write # for fetching the OIDC token
|
||||||
contents: read # for actions/checkout
|
contents: read # for actions/checkout
|
||||||
pull-requests: write # For dflook comments on PR
|
pull-requests: write # For dflook comments on PR
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PULL_COMMENT: |
|
PULL_COMMENT: |
|
||||||
@ -167,11 +167,11 @@ 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
|
||||||
if: false # XXX currently failing
|
if: false # XXX currently failing
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: legacy_emu
|
needs: legacy_emu
|
||||||
|
Loading…
Reference in New Issue
Block a user