Use SciMLTesting v1.2 (folder-based run_tests)#206
Merged
ChrisRackauckas merged 1 commit intoJun 14, 2026
Merged
Conversation
Convert the test suite to the SciMLTesting v1.2 folder-discovery model: runtests.jl becomes `using SciMLTesting; run_tests()`. Folder layout: - Core = top-level test/*.jl (slarrays, larrays, diffeq, chainrules, recursivearraytools) — same files the old GROUP=Core/All ran. - AllocCheck -> test/AllocCheck/alloc_tests.jl (in_all = false so it stays out of the All aggregate, matching the old dispatch where alloc_tests ran only under GROUP=AllocCheck). - QA -> test/qa/ with its existing Project.toml. chainrules.jl gains its own `using LabelledArrays, ChainRulesTestUtils, Test` (it previously relied on runtests.jl's top-level usings; under the isolated @safetestset include path each file must be self-contained). Deps: add SciMLTesting + SafeTestsets to root [extras]/[targets].test and to test/qa/Project.toml; drop Pkg from both (no Pkg usage remains in test/). Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
e86908c to
1d815f4
Compare
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.
Converts the LabelledArrays.jl test suite to the SciMLTesting v1.2 folder-discovery model.
test/runtests.jlbecomes:Folder layout
test/*.jl(slarrays.jl,larrays.jl,diffeq.jl,chainrules.jl,recursivearraytools.jl) — exactly the files the oldGROUP=Core/GROUP=Allran.test/AllocCheck/alloc_tests.jl, markedin_all = falseintest_groups.tomlso it stays out of theAllaggregate (the old dispatch only ranalloc_tests.jlunderGROUP=AllocCheck, never underAll).test/qa/with its existingProject.toml.Behavior preservation
The set of files run under each CI group (
Core,AllocCheck,QA) is unchanged. Verified end-to-end on Julia 1.11 viaPkg.test():GROUP=Core: chainrules 50/50, diffeq 9/9, larrays 72 pass + 4 pre-existing broken, recursivearraytools 1/1, slarrays 48/48.GROUP=AllocCheck: 28/28.GROUP=QA: 4 pass + 5 pre-existing broken.Notes
chainrules.jlgains its ownusing LabelledArrays, ChainRulesTestUtils, Test. It previously relied onruntests.jl's top-levelusings; under the isolated@safetestsetinclude path each file must be self-contained.SciMLTesting+SafeTestsetsto root[extras]/[targets].testand totest/qa/Project.toml; dropPkgfrom both (noPkgusage remains intest/).RecursiveArrayToolsdispatch branch is dropped as a selectable group (it is not intest_groups.tomland was never requested by CI);recursivearraytools.jlstill runs under Core/All.Ignore until reviewed by @ChrisRackauckas.