diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 1dcd9a4ae..778bd28e3 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -35,23 +35,20 @@ jobs: - name: "everything else" args: "--skip mcmc/gibbs.jl mcmc/Inference.jl ad.jl" runner: - # TODO(mhauru) All the ones below that run on 1.11 should actually be run on 1. - # The current setup is a temporary arrangement to deal with issues where Mooncake - # and Libtask are broken on 1.12. # Default - - version: '1.11' + - version: '1' os: ubuntu-latest num_threads: 1 # Multithreaded - - version: '1.11' + - version: '1' os: ubuntu-latest num_threads: 2 # Windows - - version: '1.11' + - version: '1' os: windows-latest num_threads: 1 # macOS - - version: '1.11' + - version: '1' os: macos-latest num_threads: 1 # Minimum supported Julia version diff --git a/test/ad.jl b/test/ad.jl index 36873479c..287c92834 100644 --- a/test/ad.jl +++ b/test/ad.jl @@ -11,7 +11,7 @@ using ..Models: gdemo_default import ForwardDiff, ReverseDiff # Skip Mooncake on 1.12 as it is not compatible yet -const INCLUDE_MOONCAKE = VERSION >= v"1.12" +const INCLUDE_MOONCAKE = VERSION < v"1.12" if INCLUDE_MOONCAKE import Pkg Pkg.add("Mooncake")