ci: self-test this repo (actionlint + shellcheck + detection-script tests)#57
Merged
ChrisRackauckas merged 1 commit intoJun 5, 2026
Conversation
These reusable workflows + compute_affected_sublibraries.jl ship to the whole org via @v1, but nothing validated a change to them. Add CI: - actionlint (rhysd/actionlint image, which bundles shellcheck) lints every workflow and the shell in their run: steps. - A Julia test suite for compute_affected_sublibraries.jl with fixture lib/ trees, asserting: internal-only dependency graph, transitive reverse-deps, direct vs downstream(→v1), test-only changes don't propagate, Project.toml does, non-lib changes select nothing, test_groups.toml (custom group + GPU runner + timeout + local_only-skipped-when-downstream), EXCLUDES, and end-to-end --projects-matrix JSON output. Guard main() behind `PROGRAM_FILE == @__FILE__` so the script is includable from tests without running. Also fix the shellcheck findings the new lint surfaced in format-check.yml / format-suggestions-on-pr.yml (quote $GITHUB_OUTPUT; drop useless `echo "$(...)"`). Verified locally: actionlint+shellcheck exit 0; 37/37 tests pass. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These reusable workflows and
compute_affected_sublibraries.jlship to ~all of SciML via@v1, but nothing validated a change to them before it propagated. This adds self-CI.actionlint+shellcheck(docker://rhysd/actionlint, which bundles shellcheck) — lints every workflow and the shell in theirrun:steps.Julia test suite for
compute_affected_sublibraries.jl(test/runtests.jl) with fixturelib/trees, asserting:1only)Project.tomlchanges dolib/changes select nothingtest_groups.toml: custom group, GPUrunnerarray,timeout, andlocal_onlyskipped when the sublib is only pulled in transitivelyEXCLUDESdrops(group, version)pairs--projects-matrixemits valid JSONmain()is guarded behindPROGRAM_FILE == @__FILE__so the script isinclude-able from tests without running. Also fixes the shellcheck findings the new lint surfaced informat-check.yml/format-suggestions-on-pr.yml(quote$GITHUB_OUTPUT; drop uselessecho "$(...)").Verified locally:
actionlint+shellcheckexit 0 on all workflows; 37/37 tests pass.🤖 Generated with Claude Code