Skip to content

Migrate CI to SciML centralized reusable workflows#95

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:migrate-to-centralized-workflows
Jun 2, 2026
Merged

Migrate CI to SciML centralized reusable workflows#95
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:migrate-to-centralized-workflows

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Please ignore until reviewed by @ChrisRackauckas.

Normalizes CI to the SciML centralized reusable workflows (SciML/.github, all callers pinned @v1).

Workflows converted

  • CI.yml -> tests.yml@v1 caller. Preserves the original matrix (Julia version "1", ubuntu, x64) and coverage collection (codecov via secrets: inherit).
  • Downgrade.yml -> downgrade.yml@v1 caller. Preserves julia-version: 1.10, skip: Pkg,TOML, alldeps/allow-reresolve: false semantics. Also fixes a latent bug: the original on: triggered only on branch master, but the default branch is main, so the Downgrade job never actually ran. Changed to main so it now triggers.
  • FormatCheck.yml -> runic.yml@v1 caller. The repo already ran Runic (fredrikekre/runic-action) and is already Runic-formatted, so no reformatting was applied (Runic --check passes clean locally).

Workflows added

  • SpellCheck.yml -> spellcheck.yml@v1 caller (new; SciML standard).

Left unchanged

  • GPU.yml (self-hosted CUDA tests with a custom Pkg.add(CUDA) pin step and Manifest removal) — not part of the centralized CPU standard set and not faithfully expressible through the centralized callers, so preserved as-is.
  • TagBot.yml — unchanged.

Typos / SpellCheck

crate-ci/typos (v1.47.0) locally reported:

  • Missings (14x, all in benchmarks/*/Manifest.toml) — false positive (real Julia package name). Handled by a minimal _typos.toml excluding Manifest.toml.
  • Curent -> Current (comment in test/runtests.jl) — real typo, fixed.
  • Bechmarking -> Benchmarking (commented-out plot title in benchmarks/CPU_vs_GPU/benchmark.jl) — real typo, fixed.

After these changes typos exits clean locally.

Dependabot / CompatHelper

  • No CompatHelper.yml existed; nothing to remove.
  • dependabot.yml already conforms to the standard (github-actions weekly at /; julia daily at / and /test with groups.all-julia-packages.patterns: ["*"], no crate-ci/typos ignore block). The only dirs with a Project.toml are / and /test, both already listed. No changes needed.

Note on branch protection

Check names change with this migration (e.g. the test job now appears under the reusable workflow's job names). Branch-protection required-status-checks must be updated accordingly, or merges may block on stale check names.

🤖 Generated with Claude Code

Convert Tests, Downgrade, and Runic format-check to the centralized
SciML/.github reusable workflows (pinned @v1), add a centralized
SpellCheck workflow, and a minimal _typos.toml.

- CI.yml: tests.yml@v1 caller (version "1", coverage default true)
- Downgrade.yml: downgrade.yml@v1 caller (julia 1.10, skip Pkg,TOML);
  also fix on: branches master -> main so it actually triggers
- FormatCheck.yml: runic.yml@v1 caller (repo already Runic-formatted)
- SpellCheck.yml: spellcheck.yml@v1 caller (new)
- _typos.toml: exclude Manifest.toml (Missings package false positive)
- Fix two real comment typos (Curent->Current, Bechmarking->Benchmarking)

GPU.yml (self-hosted CUDA) and TagBot.yml left unchanged.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 2, 2026 16:56
@ChrisRackauckas ChrisRackauckas merged commit 84c7785 into SciML:main Jun 2, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants