Skip to content

separate test matrix from build matrix and expand it (retry) #385

separate test matrix from build matrix and expand it (retry)

separate test matrix from build matrix and expand it (retry) #385

Workflow file for this run

name: "CI"
concurrency:
group: ${{ startsWith(github.ref_name, 'main') && format('unique-{0}', github.run_id) || format('ci-build-and-test-on-{0}-from-{1}', github.event_name, github.ref_name) }}
cancel-in-progress: true
on:
push:
branches:
- "pull-request/[0-9]+"
- "main"
jobs:
build:
strategy:
fail-fast: false
matrix:
# TODO: align host-platform names with conda convention
host-platform:
- linux-x64
- linux-aarch64
- win-x64
python-version:
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
cuda-version:
# Note: this is for build-time only; the test-time matrix needs to be
# defined separately.
- "12.6.2"
name: "CI-BUILD"
uses:
./.github/workflows/ci-build.yml
with:
host-platform: ${{ matrix.host-platform }}
python-version: ${{ matrix.python-version }}
cuda-version: ${{ matrix.cuda-version }}
secrets: inherit
test:
strategy:
fail-fast: false
matrix:
# TODO: align host-platform names with conda convention
host-platform:
- linux-x64
- linux-aarch64
- win-x64
python-version:
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
cuda-version:
# Note: this is for test-time only.
- "12.6.2"
- "12.0.1"
- "11.8.0"
name: "CI-TEST"
uses:
./.github/workflows/ci-test.yml

Check failure on line 64 in .github/workflows/ci-gh.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-gh.yml (Line: 64, Col: 7): Error from called workflow NVIDIA/cuda-python/.github/workflows/ci-test.yml@73b9ae4ab71f9088e9e41cc5370c0b4b3797b084 (Line: 15, Col: 3): The workflow must contain at least one job with no dependencies.
with:
host-platform: ${{ matrix.host-platform }}
python-version: ${{ matrix.python-version }}
cuda-version: ${{ matrix.cuda-version }}
secrets: inherit