Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
jobs:
tests:
# Root-only test groups (Core, nopre) are declared in test/test_groups.toml.
# Root-only test groups (Core, QA) are declared in test/test_groups.toml.
# The lib/* sublibraries (DataDrivenDMD, DataDrivenSR, DataDrivenSparse,
# DataDrivenLux) are covered by SublibraryCI.yml via the project model and
# must not be double-tested through this root matrix.
Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const GROUP = get(ENV, "GROUP", "All")
Pkg.test(base_group, coverage = true)
end
else
# nopre is a dep-adding group (JET in test/nopre/Project.toml), excluded
# from `All` (curated to Core) and -- as its name says -- not run on
# prerelease Julia (enforced by test/test_groups.toml versions).
# QA is a dep-adding group (JET in test/qa/Project.toml), excluded from
# `All` (curated to Core) and not run on prerelease Julia (enforced by
# test/test_groups.toml versions).
run_tests(;
core = function ()
@safetestset "Basis" begin
Expand All @@ -78,11 +78,11 @@ const GROUP = get(ENV, "GROUP", "All")
end
end,
groups = Dict(
"nopre" => (;
env = joinpath(@__DIR__, "nopre"),
"QA" => (;
env = joinpath(@__DIR__, "qa"),
body = function ()
@safetestset "JET Static Analysis" begin
include("nopre/jet_tests.jl")
include("qa/jet_tests.jl")
end
end,
),
Expand Down
9 changes: 4 additions & 5 deletions test/test_groups.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Test group declarations for the DataDrivenDiffEq root package.
# The base-environment Core group runs in the package's main test env and is
# the only group in the `All` run. The `nopre` group is a dep-adding group: it
# carries JET in test/nopre/Project.toml, is excluded from `All`, and (as its
# name says) does not run on prerelease Julia. Its CI.yml matrix group input is
# lowercase, so the group name here is kept lowercase to stay consistent.
# the only group in the `All` run. The `QA` group is a dep-adding group: it
# carries JET in test/qa/Project.toml, is excluded from `All`, and does not run
# on prerelease Julia.

[Core]
versions = ["lts", "1", "pre"]

[nopre]
[QA]
versions = ["lts", "1"]
Loading