From 80f9c50fabc18de979c4eb0c4d4e0d5236f1aed7 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Thu, 4 Jun 2026 11:36:32 -0400 Subject: [PATCH] ci: route AllocCheck job through SciML/.github reusable workflow (@v1) Convert the bespoke `alloccheck` job in Tests.yml into a thin caller of SciML/.github/.github/workflows/tests.yml@v1 with `group: nopre`. The reusable workflow sets `env: GROUP: ${{ inputs.group }}`, and test/runtests.jl dispatches the AllocCheck tests solely on `ENV["GROUP"] == "nopre"`, so the converted job runs the same tests. The `test_args=["nopre"]` in the old invocation was a no-op (runtests.jl never reads ARGS). The reusable additionally collects coverage by default, which only increases CI fidelity. The existing `tests` matrix job and the Documentation, Downgrade, FormatCheck, and SpellCheck workflows already use the reusable workflows and are left untouched. TagBot is non-CI automation and left local. Co-Authored-By: Chris Rackauckas --- .github/workflows/Tests.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 13b88b3..d4ca393 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -33,15 +33,8 @@ jobs: alloccheck: name: "AllocCheck" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: '1' - - uses: julia-actions/cache@v3 - - uses: julia-actions/julia-buildpkg@v1 - - name: Run AllocCheck tests - run: julia --project -e 'using Pkg; Pkg.test(; test_args=["nopre"])' - env: - GROUP: nopre + uses: "SciML/.github/.github/workflows/tests.yml@v1" + with: + julia-version: "1" + group: "nopre" + secrets: "inherit"