Skip to content

Commit 275ed1e

Browse files
Use GROUP consistently for sublibrary tests (#3909)
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
1 parent b20fe04 commit 275ed1e

61 files changed

Lines changed: 65 additions & 66 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/DowngradeSublibraries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
with:
2323
julia-version: "1.11"
2424
skip: "Pkg,TOML,Statistics,LinearAlgebra,SparseArrays,InteractiveUtils,OrdinaryDiffEqCore,OrdinaryDiffEqNonlinearSolve,OrdinaryDiffEqDifferentiation"
25-
group-env-name: "ODEDIFFEQ_TEST_GROUP"
25+
group-env-name: "GROUP"
2626
group-env-value: "Core"
2727
# Every lib/* sublibrary is downgrade-tested (projects auto-discovered, no exclusions).

.github/workflows/SublibraryCI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
sublibrary-ci:
1616
uses: "SciML/.github/.github/workflows/sublibrary-project-tests.yml@v1"
1717
with:
18-
group-env-name: ODEDIFFEQ_TEST_GROUP
18+
group-env-name: GROUP
1919
check-bounds: auto
2020
secrets: "inherit"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

lib/DelayDiffEq/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using SafeTestsets
22

3-
const TEST_GROUP = get(ENV, "ODEDIFFEQ_TEST_GROUP", "ALL")
3+
const TEST_GROUP = get(ENV, "GROUP", "ALL")
44

55
if TEST_GROUP == "ALL" || TEST_GROUP == "Interface"
66
@time @safetestset "AD Tests" begin

lib/DiffEqBase/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using Pkg
22
using SafeTestsets
33
using Test
44

5-
const TEST_GROUP = get(ENV, "ODEDIFFEQ_TEST_GROUP", "Core")
5+
const TEST_GROUP = get(ENV, "GROUP", "Core")
66

77
function activate_downstream_env()
88
Pkg.activate(joinpath(@__DIR__, "downstream"))

lib/DiffEqDevTools/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using DiffEqDevTools
22
using SciMLTesting
33
using Test
44

5-
const TEST_GROUP = get(ENV, "ODEDIFFEQ_TEST_GROUP", "ALL")
5+
const TEST_GROUP = get(ENV, "GROUP", "ALL")
66

77
function activate_qa_env()
88
return activate_group_env(joinpath(@__DIR__, "qa"); parent = [dirname(@__DIR__), joinpath(@__DIR__, "..", "..", "..")])

lib/GlobalDiffEq/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Test
33
using SciMLTesting
44

55
run_tests(;
6-
env = "ODEDIFFEQ_TEST_GROUP",
6+
env = "GROUP",
77
core = function ()
88
@safetestset "Basic functionality" begin
99
include("basic_functionality_tests.jl")

lib/ImplicitDiscreteSolve/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using SciMLBase
77
using SafeTestsets
88
using SciMLTesting
99

10-
const TEST_GROUP = get(ENV, "ODEDIFFEQ_TEST_GROUP", "ALL")
10+
const TEST_GROUP = get(ENV, "GROUP", "ALL")
1111

1212
function activate_qa_env()
1313
return activate_group_env(joinpath(@__DIR__, "qa"); parent = [dirname(@__DIR__), joinpath(@__DIR__, "..", "..", "..")])

lib/OrdinaryDiffEqAMF/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using SciMLTesting
22
using Test
33
using SafeTestsets
44

5-
const TEST_GROUP = get(ENV, "ODEDIFFEQ_TEST_GROUP", "ALL")
5+
const TEST_GROUP = get(ENV, "GROUP", "ALL")
66

77
function activate_qa_env()
88
return activate_group_env(joinpath(@__DIR__, "qa"); parent = [dirname(@__DIR__), joinpath(@__DIR__, "..", "..", "..")])

lib/OrdinaryDiffEqAdamsBashforthMoulton/test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using Pkg
22
using SciMLTesting
33
using SafeTestsets
44

5-
const TEST_GROUP = get(ENV, "ODEDIFFEQ_TEST_GROUP", "ALL")
5+
const TEST_GROUP = get(ENV, "GROUP", "ALL")
66

77
function activate_qa_env()
88
return activate_group_env(joinpath(@__DIR__, "qa"); parent = [dirname(@__DIR__), joinpath(@__DIR__, "..", "..", "..")])
@@ -20,7 +20,7 @@ if TEST_GROUP == "Core" || TEST_GROUP == "ALL"
2020
end
2121

2222
# Threaded tests require Polyester.jl (for FastBroadcast.Threaded() support).
23-
# Runs only on explicit `ODEDIFFEQ_TEST_GROUP=Threaded` — the SublibraryCI
23+
# Runs only on explicit `GROUP=Threaded` — the SublibraryCI
2424
# matrix (lib/OrdinaryDiffEqAdamsBashforthMoulton/test/test_groups.toml)
2525
# schedules this as its own Julia 1 / 2-thread job. Matches the GPU-group
2626
# convention in sibling sublibs (LowStorageRK, Rosenbrock, BDF).

0 commit comments

Comments
 (0)