Skip to content

test: run CI on 1.12 #770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -56,6 +57,8 @@ jobs:
exclude:
- skip_lts: true
version: "1.10"
- skip_lts: true
version: "pre"
- version: "1"
group: Back/ChainRules
env:
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion DifferentiationInterfaceTest/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion DifferentiationInterfaceTest/test/formalities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading