Skip to content

Commit bfa61d8

Browse files
authored
Skip Mooncake on 1.12 (#2705)
1.12 isn't being tested right now on Turing, so this doesn't actually affect anything here; but DynamicPPL's integration test uses 1.12 and it seems unfair to pin that to 1.11 when most of Turing's test suite should pass on 1.12.
1 parent 5ceb7e6 commit bfa61d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/ad.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ using Test
1010
using ..Models: gdemo_default
1111
import ForwardDiff, ReverseDiff
1212

13-
# Detect if prerelease version, if so, we skip some tests
14-
const IS_PRERELEASE = !isempty(VERSION.prerelease)
15-
const INCLUDE_MOONCAKE = !IS_PRERELEASE
16-
13+
# Skip Mooncake on 1.12 as it is not compatible yet
14+
const INCLUDE_MOONCAKE = VERSION >= v"1.12"
1715
if INCLUDE_MOONCAKE
1816
import Pkg
1917
Pkg.add("Mooncake")

0 commit comments

Comments
 (0)