Skip to content

Commit e1d0157

Browse files
committed
Separate doctests into their own test group
1 parent 64afdbc commit e1d0157

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ jobs:
6060
os: macos-latest
6161
arch: aarch64
6262
num_threads: 2
63+
test_group:
64+
- DynamicPPL
65+
- Doctests
66+
- Downstream
6367

6468
steps:
6569
- uses: actions/checkout@v4
@@ -75,7 +79,7 @@ jobs:
7579

7680
- uses: julia-actions/julia-runtest@v1
7781
env:
78-
GROUP: All
82+
GROUP: ${{ matrix.test_group }}
7983
JULIA_NUM_THREADS: ${{ matrix.runner.num_threads }}
8084

8185
- uses: julia-actions/julia-processcoverage@v1

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ include("test_util.jl")
8989
@test_throws ErrorException prob"..."
9090
@test_throws ErrorException logprob"..."
9191
end
92+
end
9293

94+
if GROUP == "All" || GROUP == "Doctests"
9395
@testset "doctests" begin
9496
DocMeta.setdocmeta!(
9597
DynamicPPL,

0 commit comments

Comments
 (0)