Skip to content

Fix: declare Pkg as a test dep (grouped-tests Core group regression)#42

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-core-pkg-testdep
Jun 10, 2026
Merged

Fix: declare Pkg as a test dep (grouped-tests Core group regression)#42
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-core-pkg-testdep

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Conversion #40 made test/runtests.jl do using Pkg (for the QA group's Pkg.activate) but didn't declare Pkg as a test dep, so the Core job (project='.') failed with ArgumentError: Package Pkg not found before any test ran — main CI is red because of it. Fix: add Pkg to test/Project.toml. Verified locally (Julia 1.11): GROUP=Core 39 tests pass, GROUP=QA passes (Aqua 11/11, JET 1/1). Same pattern affects the other B/C conversions; sweeping them. Ignore until reviewed by @ChrisRackauckas.

The grouped-tests conversion's runtests.jl does `using Pkg` (for the QA group's
Pkg.activate), but Pkg wasn't a declared test dependency, so the Core job
(project='.') failed with `Package Pkg not found in current path` before any
test ran. Add Pkg to test/Project.toml [deps]. Verified locally on Julia 1.11:
GROUP=Core passes (39 tests) and GROUP=QA passes (Aqua 11/11, JET 1/1).

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 0ad4889 into SciML:main Jun 10, 2026
6 of 8 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.

3 participants