diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b641645..4b447d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,28 +21,5 @@ concurrency: jobs: tests: - name: "Tests" - strategy: - fail-fast: false - matrix: - group: - - "All" - - "nopre" - version: - - "1" - - "lts" - - "pre" - os: - - ubuntu-latest - - macOS-latest - - windows-latest - exclude: - # Don't run nopre tests on pre-release Julia - - group: "nopre" - version: "pre" - uses: "SciML/.github/.github/workflows/tests.yml@v1" - with: - julia-version: "${{ matrix.version }}" - os: "${{ matrix.os }}" - group: "${{ matrix.group }}" + uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1" secrets: "inherit" diff --git a/test/test_groups.toml b/test/test_groups.toml new file mode 100644 index 0000000..efba756 --- /dev/null +++ b/test/test_groups.toml @@ -0,0 +1,13 @@ +# Root test-group matrix for CurveFit.jl, consumed by the reusable +# grouped-tests.yml workflow via scripts/compute_affected_sublibraries.jl +# --root-matrix. runtests.jl reads the GROUP env var and dispatches via +# TestItemRunner tags: "All" runs everything except :nopre-tagged items, +# "nopre" runs only :nopre-tagged items. + +[All] +versions = ["1", "lts", "pre"] +os = ["ubuntu-latest", "macOS-latest", "windows-latest"] + +[nopre] +versions = ["1", "lts"] +os = ["ubuntu-latest", "macOS-latest", "windows-latest"]