Skip to content

Commit ef9709a

Browse files
committed
Split tests more evenly
1 parent eafd2b5 commit ef9709a

File tree

2 files changed

+23
-34
lines changed

2 files changed

+23
-34
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ jobs:
6666
arch: aarch64
6767
num_threads: 2
6868
test_group:
69-
- DynamicPPL
70-
- Doctests
69+
- Group1
70+
- Group2
7171
- Downstream
7272

7373
steps:

test/runtests.jl

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,55 +43,44 @@ Random.seed!(100)
4343
include("test_util.jl")
4444

4545
@testset verbose = true "DynamicPPL.jl" begin
46-
if GROUP == "All" || GROUP == "DynamicPPL"
47-
@testset "interface" begin
48-
include("utils.jl")
49-
include("compiler.jl")
50-
include("varnamedvector.jl")
51-
include("varinfo.jl")
52-
include("simple_varinfo.jl")
53-
include("model.jl")
54-
include("sampler.jl")
55-
include("independence.jl")
56-
include("distribution_wrappers.jl")
57-
include("contexts.jl")
58-
include("context_implementations.jl")
59-
include("logdensityfunction.jl")
60-
include("linking.jl")
61-
62-
include("threadsafe.jl")
63-
64-
include("serialization.jl")
65-
66-
include("pointwise_logdensities.jl")
67-
68-
include("lkj.jl")
69-
70-
include("debug_utils.jl")
71-
end
46+
if GROUP == "All" || GROUP == "Group1"
47+
include("utils.jl")
48+
include("compiler.jl")
49+
include("varnamedvector.jl")
50+
include("varinfo.jl")
51+
include("simple_varinfo.jl")
52+
include("model.jl")
53+
include("sampler.jl")
54+
include("independence.jl")
55+
include("distribution_wrappers.jl")
56+
end
7257

58+
if GROUP == "All" || GROUP == "Group2"
59+
include("contexts.jl")
60+
include("context_implementations.jl")
61+
include("logdensityfunction.jl")
62+
include("linking.jl")
63+
include("threadsafe.jl")
64+
include("serialization.jl")
65+
include("pointwise_logdensities.jl")
66+
include("lkj.jl")
67+
include("debug_utils.jl")
7368
@testset "compat" begin
7469
include(joinpath("compat", "ad.jl"))
7570
end
76-
7771
@testset "extensions" begin
7872
include("ext/DynamicPPLMCMCChainsExt.jl")
7973
include("ext/DynamicPPLJETExt.jl")
8074
end
81-
8275
@testset "ad" begin
8376
include("ext/DynamicPPLForwardDiffExt.jl")
8477
include("ext/DynamicPPLMooncakeExt.jl")
8578
include("ad.jl")
8679
end
87-
8880
@testset "prob and logprob macro" begin
8981
@test_throws ErrorException prob"..."
9082
@test_throws ErrorException logprob"..."
9183
end
92-
end
93-
94-
if GROUP == "All" || GROUP == "Doctests"
9584
@testset "doctests" begin
9685
DocMeta.setdocmeta!(
9786
DynamicPPL,

0 commit comments

Comments
 (0)