From 51830d6f2ded635508c8c67e0e9ef6372dce2a42 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:02:01 +0200 Subject: [PATCH 1/5] test: run CI on pre-release (newly set to 1.12) --- .github/workflows/Test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index f91ce0853..ddc52a277 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -30,6 +30,7 @@ jobs: version: - "1.10" - "1" + - "pre" group: - Core/Internals - Back/DifferentiateWith From 8b92974bc6373acff8bbebb4c91d41602144d0e6 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:02:47 +0200 Subject: [PATCH 2/5] DIT too --- .github/workflows/Test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index ddc52a277..e383a4431 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -57,6 +57,8 @@ jobs: exclude: - skip_lts: true version: "1.10" + - skip_lts: true + version: "pre" - version: "1" group: Back/ChainRules env: @@ -103,6 +105,7 @@ jobs: version: - "1.10" - "1" + - "pre" group: - Formalities - Zero @@ -113,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 }} From b3249638a6ac41e531ba9995d8ec846a6e0f4700 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:11:57 +0200 Subject: [PATCH 3/5] JET --- DifferentiationInterface/test/Core/Internals/_formalities.jl | 4 +++- DifferentiationInterfaceTest/test/formalities.jl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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/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 From c91ddfbdec8f1962bdae58486f74fc349bdec907 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:22:36 +0200 Subject: [PATCH 4/5] JET compat --- DifferentiationInterfaceTest/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From badc8dc98576a6ab251a946f643ee1a2a7708476 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:41:10 +0200 Subject: [PATCH 5/5] No fail fast --- .github/workflows/Test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index e383a4431..17da81601 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -25,7 +25,7 @@ jobs: actions: write contents: read strategy: - fail-fast: true # TODO: toggle + fail-fast: false # TODO: toggle matrix: version: - "1.10" @@ -100,7 +100,7 @@ jobs: actions: write contents: read strategy: - fail-fast: true + fail-fast: false matrix: version: - "1.10"