Skip to content

Commit

Permalink
Merge pull request #48 from SciML/gd/julia16
Browse files Browse the repository at this point in the history
Support Julia 1.6 (again)
  • Loading branch information
Vaibhavdixit02 authored Apr 25, 2024
2 parents aa2429e + fa3733a commit 5d250d1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.10'
- '1.6'
- '1'
os:
- ubuntu-latest
Expand All @@ -31,7 +31,7 @@ jobs:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-downgrade-compat@v1
if: ${{ matrix.version == '1.10' }}
if: ${{ matrix.version == '1.6' }}
with:
skip: Pkg, TOML
- uses: julia-actions/cache@v1
Expand Down
8 changes: 6 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ uuid = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
authors = [
"Vaibhav Dixit <[email protected]>, Guillaume Dalle and contributors",
]
version = "1.0.0"
version = "1.1.0"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869"

[weakdeps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand All @@ -16,7 +20,7 @@ ADTypesEnzymeCoreExt = "EnzymeCore"
[compat]
ChainRulesCore = "1.0.2"
EnzymeCore = "0.5.3,0.6,0.7"
julia = "1.10"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
12 changes: 7 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ end
## Tests

@testset verbose=true "ADTypes.jl" begin
@testset "Aqua.jl" begin
Aqua.test_all(ADTypes; deps_compat = (check_extras = false,))
end
@testset "JET.jl" begin
JET.test_package(ADTypes, target_defined_modules = true)
if VERSION >= v"1.10"
@testset "Aqua.jl" begin
Aqua.test_all(ADTypes; deps_compat = (check_extras = false,))
end
@testset "JET.jl" begin
JET.test_package(ADTypes, target_defined_modules = true)
end
end
@testset "Dense" begin
include("dense.jl")
Expand Down

0 comments on commit 5d250d1

Please sign in to comment.