Skip to content

Commit d2efd02

Browse files
committed
Skip certain wheels on pull request trigger
1 parent a0674a9 commit d2efd02

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build_wheels.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,15 @@ jobs:
229229
]
230230
# Keep in sync (remove asterisks) with PY_VERSIONS_FULL env var above - if changed, change that as well.
231231
py_version: ["cp310-", "cp311-", "cp312-", "cp313-"]
232+
# The following exclude/include skips intermediate Python versions on GitHub hosted runners for PR run
233+
is_pr:
234+
- ${{ github.event_name == 'pull_request' }}
235+
exclude:
236+
- is_pr: true
237+
include:
238+
- os_python.os: "ubuntu-20.04"
239+
- py_version: "cp310-"
240+
- py_version: "cp313-"
232241
steps:
233242
- name: Download python source distribution from artifacts
234243
uses: actions/download-artifact@v5

0 commit comments

Comments
 (0)