Skip to content

Commit

Permalink
ENH: GHA: Only compile Python 11 and above in pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit authored and SimonRit committed Dec 11, 2024
1 parent f2c255c commit 4d27fc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-package-python-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python3-minor-version: ["8","9","10","11"]
python3-minor-versions: ${{ github.event_name == 'pull_request' && '["11"]' || '["9","10","11"]' }}
manylinux-platform: ["_2_28-x64","2014-x64"]
cuda-version: ["116","121"]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ jobs:
cmake-options: '-DRTK_BUILD_APPLICATIONS:BOOL=OFF'
itk-python-package-org: 'SimonRit'
itk-python-package-tag: '45cfd02a22661731ca5b155f210cfa2f887d50e7'
python3-minor-versions: ${{ github.event_name == 'pull_request' && '["11"]' || '["9","10","11"]' }}
secrets:
pypi_password: ${{ secrets.pypi_password }}

0 comments on commit 4d27fc9

Please sign in to comment.