Skip to content

Commit b138770

Browse files
committed
Don't run Aqua tests on CI min versions
1 parent a0b8134 commit b138770

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ jobs:
7070
env:
7171
GROUP: ${{ matrix.test_group }}
7272
JULIA_NUM_THREADS: ${{ matrix.runner.num_threads }}
73+
# Only run Aqua tests on latest version
74+
AQUA: ${{ matrix.runner.version == '1' ? 'true' : 'false' }}
7375

7476
- uses: julia-actions/julia-processcoverage@v1
7577

test/runtests.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ using OrderedCollections: OrderedSet
3535
using DynamicPPL: getargs_dottilde, getargs_tilde
3636

3737
const GROUP = get(ENV, "GROUP", "All")
38+
const AQUA = get(ENV, "AQUA", "true") == "true"
3839
Random.seed!(100)
3940

4041
include("test_util.jl")
@@ -44,7 +45,9 @@ include("test_util.jl")
4445
# groups are chosen to make both groups take roughly the same amount of
4546
# time, but beyond that there is no particular reason for the split.
4647
if GROUP == "All" || GROUP == "Group1"
47-
include("Aqua.jl")
48+
if AQUA
49+
include("Aqua.jl")
50+
end
4851
include("utils.jl")
4952
include("compiler.jl")
5053
include("varnamedvector.jl")

0 commit comments

Comments
 (0)