Skip to content

Commit

Permalink
set timeout for job
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Jan 15, 2025
1 parent 8696cec commit 96766d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/python-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,20 @@ env:
UV_SYSTEM_PYTHON: 1

jobs:
timeout-minutes: 60
quality:
uses: ecmwf-actions/reusable-workflows/.github/workflows/qa-precommit-run.yml@v2
with:
skip-hooks: "no-commit-to-branch"

checks:
runs-on: ubuntu-latest
timeout-minutes: 60
defaults:
run:
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
platform: ["ubuntu-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11"]
install-mode: ${{ github.event_name == 'schedule' && '["all"]' || '["local-changes", "all"]' }}
allow-failure:
- install-mode: "local-changes" # Allow failure for changed packages with breaking changes against release

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 96766d8

Please sign in to comment.