Skip to content

Commit

Permalink
Skip Windows jobs on draft PRs because they are slow
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Jan 8, 2025
1 parent 4e4ed58 commit 75c6803
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ jobs:
- ubuntu-22.04
- windows-2022
python-version: ["3.11", "3.12"]
include:
- python-version: "3.11"
os: ubuntu-22.04
format-for-github: true
pr-update:
- ${{ github.event.action == 'opened' || github.event.action == 'synchronize' }}
exclude:
# skip Windows jobs on draft PRs because they are slow
- os: windows-2022
pr-update: true
runs-on: ${{ matrix.os }}

steps:
Expand Down

0 comments on commit 75c6803

Please sign in to comment.