Skip to content

Commit 4d58ab4

Browse files
committed
Fix
1 parent cb48e6f commit 4d58ab4

File tree

2 files changed

+30
-29
lines changed

2 files changed

+30
-29
lines changed

DifferentiationInterface/Project.toml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ DifferentiationInterfaceZygoteExt = "Zygote"
4646
ADTypes = "1.0.0"
4747
ChainRulesCore = "1.23.0"
4848
Compat = "3,4"
49-
# Diffractor = "=0.2.6"
49+
Diffractor = "=0.2.6"
5050
DocStringExtensions = "0.9.3"
5151
Enzyme = "0.11.20,0.12"
52-
# FastDifferentiation = "0.3.9"
52+
FastDifferentiation = "0.3.9"
5353
FillArrays = "1.9.3"
5454
FiniteDiff = "2.22.0"
5555
FiniteDifferences = "0.12.31"
5656
ForwardDiff = "0.10.36"
5757
LinearAlgebra = "1.6"
5858
PackageExtensionCompat = "1.0.2"
59-
# PolyesterForwardDiff = "0.1.0"
59+
PolyesterForwardDiff = "0.1.0"
6060
ReverseDiff = "1.15.1"
6161
SparseArrays = "1.6"
62-
# Symbolics = "5.14.1"
63-
# Tapir = "0.2.4"
62+
Symbolics = "5.14.1"
63+
Tapir = "0.2.4"
6464
Test = "1.6"
6565
Tracker = "0.2.33"
6666
Zygote = "0.6.69"
@@ -71,22 +71,22 @@ ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
7171
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
7272
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
7373
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
74-
# Diffractor = "9f5e2b26-1114-432f-b630-d3fe2085c51c"
74+
Diffractor = "9f5e2b26-1114-432f-b630-d3fe2085c51c"
7575
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
7676
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
77-
# FastDifferentiation = "eb9bf01b-bf85-4b60-bf87-ee5de06c00be"
77+
FastDifferentiation = "eb9bf01b-bf85-4b60-bf87-ee5de06c00be"
7878
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
7979
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
8080
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
8181
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
8282
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
8383
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
84-
# PolyesterForwardDiff = "98d1487c-24ca-40b6-b7ab-df2af84e126b"
84+
PolyesterForwardDiff = "98d1487c-24ca-40b6-b7ab-df2af84e126b"
8585
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
8686
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
8787
SparseConnectivityTracer = "9f842d2f-2579-4b1d-911e-f412cf18a3f5"
88-
# Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
89-
# Tapir = "07d77754-e150-4737-8c94-cd238a1fb45b"
88+
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
89+
Tapir = "07d77754-e150-4737-8c94-cd238a1fb45b"
9090
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
9191
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
9292
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
@@ -96,23 +96,11 @@ test = [
9696
"ADTypes",
9797
"Aqua",
9898
"DataFrames",
99-
# "Diffractor",
10099
"Documenter",
101-
"Enzyme",
102-
# "FastDifferentiation",
103-
"FiniteDiff",
104-
"FiniteDifferences",
105-
"ForwardDiff",
106100
"JET",
107101
"JuliaFormatter",
108102
"Pkg",
109-
# "PolyesterForwardDiff",
110-
"ReverseDiff",
111103
"SparseArrays",
112104
"SparseConnectivityTracer",
113-
# "Symbolics",
114-
# "Tapir",
115105
"Test",
116-
"Tracker",
117-
"Zygote",
118106
]

DifferentiationInterface/test/runtests.jl

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1-
ADDITIONAL_BACKENDS_10 = [
2-
"Diffractor", "FastDifferentiation", "PolyesterForwardDiff", "Symbolics", "Tapir"
1+
BACKENDS_1_6 = [
2+
"FiniteDiff", #
3+
"FiniteDifferences",
4+
"ForwardDiff",
5+
"ReverseDiff",
6+
"Tracker",
7+
"Zygote",
8+
]
9+
10+
BACKENDS_1_10 = [
11+
"Diffractor", #
12+
"Enzyme",
13+
"FastDifferentiation",
14+
"PolyesterForwardDiff",
15+
"Symbolics",
16+
"Tapir",
317
]
418

519
## Weird Pkg mumbo-jumbo
@@ -16,7 +30,9 @@ Pkg.develop([
1630
])
1731

1832
@static if VERSION >= v"1.10"
19-
Pkg.add(ADDITIONAL_BACKENDS_10)
33+
Pkg.add(vcat(BACKENDS_1_6, BACKENDS_1_10))
34+
else
35+
Pkg.add(vcat(BACKENDS_1_6))
2036
end
2137

2238
## Actual stuff that matters
@@ -47,10 +63,7 @@ LOGGING = get(ENV, "CI", "false") == "false"
4763
@testset verbose = true "$folder" for folder in ["Single", "Double", "Internals"]
4864
folder_path = joinpath(@__DIR__, folder)
4965
@testset verbose = true "$(file[1:end-3])" for file in readdir(folder_path)
50-
if (
51-
VERSION < v"1.10" &&
52-
any(contains(file, name) for name in ADDITIONAL_BACKENDS_10)
53-
)
66+
if (VERSION < v"1.10" && any(contains(file, name) for name in BACKENDS_1_10))
5467
@info "Skipping $folder - $(file[1:end-3])"
5568
else
5669
@info "Testing $folder - $(file[1:end-3])"

0 commit comments

Comments
 (0)