Repository navigation
Use SciMLTesting v1.2 (folder-based run_tests) - #1390
Merged
ChrisRackauckas merged 1 commit intoJun 14, 2026
Merged
Conversation
Convert test/runtests.jl to SciMLTesting v1.2. This repo's per-GROUP
behavior cannot use bare folder-discovery (the SymbolicIndexingInterface
group runs remake_tests.jl in the MAIN env *plus* five downstream/*.jl in
the downstream sub-env — a mixed-env group — and the downstream/ folder is
sliced across the Downstream and SII groups sharing one env), so it uses
the v1.2 explicit-args run_tests over the existing file layout, mirroring
the OrdinaryDiffEq.jl conversion:
* core thunk = the 15 Core files + remake_tests.jl (main env), keeping the
is_APPVEYOR guard on Remake verbatim.
* groups Downstream / Python = thunks that activate their sub-env inside
the !is_APPVEYOR guard (not env= GroupSpecs, to preserve the original
conditional activation).
* SymbolicIndexingInterface = an umbrella over SII_Remake (remake in main
env) then SII_Downstream (five files in the downstream env), exactly the
original ordering and per-file env.
* qa thunk = aqua.jl in the main test env (no qa sub-env exists; Aqua is
in the root [extras]).
* curated all = ["Core"] so GROUP=All runs only the Core set + remake,
matching the original (Downstream/SII/Python/QA excluded from All).
Adds SciMLTesting (compat 1) to the root test deps and to the downstream
and python sub-envs (with SafeTestsets + Test). Pkg is RETAINED: aqua.jl
uses Pkg.Types.EnvCache directly and the activate_*_env helpers use Pkg.
test_groups.toml unchanged. A dry-run over every GROUP value confirms the
fired @safetestset set and per-file active env are byte-equivalent to the
previous dispatcher.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
ChrisRackauckas
marked this pull request as ready for review
June 14, 2026 23:54
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
test/runtests.jlto SciMLTesting v1.2.This repo's per-
GROUPbehavior cannot use bare folder-discovery, so it uses the v1.2 explicit-argsrun_tests(the same backward-compatible path OrdinaryDiffEq.jl uses), restructured to mirror the original dispatch exactly:SymbolicIndexingInterfacegroup is a mixed-env group: it runsremake_tests.jlin the main test env and fivedownstream/*.jlfiles in thedownstreamsub-env. Folder-discovery can activate at most one sub-env per group folder, so it cannot express this.downstream/folder is sliced across two groups (Downstream= 21 files,SymbolicIndexingInterface= 5 files) that share onedownstream/Project.tomlenv.is_APPVEYORguards on Remake/Downstream/SII/Python cannot be expressed by folder-discovery.What changed
runtests.jl→run_tests(; core, groups, qa, all, umbrellas):core= the 15 Core files +remake_tests.jl(main env),is_APPVEYORguard on Remake kept verbatim.groups["Downstream"]/groups["Python"]= thunks that callactivate_downstream_env()/activate_python_env()inside the!is_APPVEYORguard (notenv=GroupSpecs, to preserve the original conditional activation and<1.11resolution).groups["SII_Remake"]+groups["SII_Downstream"]joined byumbrellas["SymbolicIndexingInterface"]→ remake in the main env first, then the five files in thedownstreamenv (original ordering and per-file env).qa=aqua.jlin the main test env (there is noqasub-env; Aqua is in the root[extras]).all = ["Core"]→GROUP=Allruns only Core + remake, matching the original.SciMLTesting(compat1) added to the root test deps and totest/downstream/Project.toml+test/python/Project.toml(withSafeTestsets+Test).Pkgis retained —aqua.jlusesPkg.Types.EnvCacheand theactivate_*_envhelpers usePkg.test/test_groups.tomlunchanged.Verification
TOML.parsefileon everyProject.toml+test_groups.toml;Meta.parseallonruntests.jl,aqua.jl, and every included Core file.GROUPvalue (All/Core/QA/Downstream/SymbolicIndexingInterface/Python) confirms the fired@safetestsetset, order, and per-file active env are byte-equivalent to the previous dispatcher (counts: 18/18/1/21/6/1).Ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code