diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index f91ce0853..17da81601 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -25,11 +25,12 @@ jobs: actions: write contents: read strategy: - fail-fast: true # TODO: toggle + fail-fast: false # TODO: toggle matrix: version: - "1.10" - "1" + - "pre" group: - Core/Internals - Back/DifferentiateWith @@ -56,6 +57,8 @@ jobs: exclude: - skip_lts: true version: "1.10" + - skip_lts: true + version: "pre" - version: "1" group: Back/ChainRules env: @@ -97,11 +100,12 @@ jobs: actions: write contents: read strategy: - fail-fast: true + fail-fast: false matrix: version: - "1.10" - "1" + - "pre" group: - Formalities - Zero @@ -112,6 +116,8 @@ jobs: exclude: - skip_lts: true version: "1.10" + - skip_lts: true + version: "pre" env: JULIA_DIT_TEST_GROUP: ${{ matrix.group }} JULIA_DI_PR_DRAFT: ${{ github.event.pull_request.draft }} diff --git a/DifferentiationInterface/test/Core/Internals/_formalities.jl b/DifferentiationInterface/test/Core/Internals/_formalities.jl index bf851018f..e7fd53ac0 100644 --- a/DifferentiationInterface/test/Core/Internals/_formalities.jl +++ b/DifferentiationInterface/test/Core/Internals/_formalities.jl @@ -16,7 +16,9 @@ using SparseArrays end @testset "JET" begin - JET.test_package(DifferentiationInterface; target_defined_modules=true) + if VERSION < v"1.12" + JET.test_package(DifferentiationInterface; target_defined_modules=true) + end end @testset "JuliaFormatter" begin diff --git a/DifferentiationInterfaceTest/Project.toml b/DifferentiationInterfaceTest/Project.toml index a1aac1eca..f82fcf8ed 100644 --- a/DifferentiationInterfaceTest/Project.toml +++ b/DifferentiationInterfaceTest/Project.toml @@ -50,7 +50,7 @@ FiniteDifferences = "0.12" Flux = "0.16" ForwardDiff = "0.10.36,1" Functors = "0.4, 0.5" -JET = "0.4 - 0.8, 0.9" +JET = "0.4 - 0.8, 0.9, 0.10" JLArrays = "0.1, 0.2" JuliaFormatter = "1" LinearAlgebra = "<0.0.1,1" diff --git a/DifferentiationInterfaceTest/test/formalities.jl b/DifferentiationInterfaceTest/test/formalities.jl index ab434acd5..e5d5194c5 100644 --- a/DifferentiationInterfaceTest/test/formalities.jl +++ b/DifferentiationInterfaceTest/test/formalities.jl @@ -18,7 +18,9 @@ end ) end @testset verbose = true "JET" begin - JET.test_package(DifferentiationInterfaceTest; target_defined_modules=true) + if VERSION < v"1.12" + JET.test_package(DifferentiationInterfaceTest; target_defined_modules=true) + end end @testset "Documentation" begin