Skip to content

Commit b14e2e9

Browse files
committed
Only run 2/4 combinations in pull_request
1 parent 3d38c95 commit b14e2e9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci-meson.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ jobs:
2525
os: [ubuntu]
2626
python: ['3.11', '3.12']
2727
editable: [false, true]
28+
is-pull-request:
29+
- ${{ github.event_name == 'pull_request' }}
30+
# trick from https://github.com/orgs/community/discussions/26253#discussioncomment-6745038
31+
# in PR, only run the combinations listed below; otherwise, run all combinations
32+
exclude:
33+
- is-pull-request: true
34+
include:
35+
- os: ubuntu
36+
python: 3.11
37+
editable: false
38+
- os: ubuntu
39+
python: 3.12
40+
editable: true
2841

2942
steps:
3043
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)