diff --git a/.github/workflows/build-test-package-python-cuda.yml b/.github/workflows/build-test-package-python-cuda.yml index 422287903..eb1c2a1d0 100644 --- a/.github/workflows/build-test-package-python-cuda.yml +++ b/.github/workflows/build-test-package-python-cuda.yml @@ -107,7 +107,7 @@ jobs: strategy: max-parallel: 2 matrix: - python3-minor-version: ["8","9","10","11"] + python3-minor-version: ${{ github.event_name == 'pull_request' && fromJSON('["11"]') || fromJSON('["9","10","11"]') }} cuda-version: ["116","121"] steps: