Skip to content

Commit ac1f918

Browse files
Merge pull request #1475 from AayushSabharwal/as/test-di
ci: test DI in downstream CI
2 parents a9ca847 + 47c898a commit ac1f918

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

test/downstream/Project.toml

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
[deps]
2+
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
3+
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
4+
DifferentiationInterfaceTest = "a82114a7-5aa3-49a8-9643-716bb13727a3"
25
DynamicQuantities = "06fc5a27-2a28-4c7c-a15d-362465fb6821"
36
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
47
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
@@ -7,6 +10,7 @@ Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
710
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
811

912
[compat]
13+
DifferentiationInterface = "0.6"
1014
KernelAbstractions = "0.9"
1115
ModelingToolkit = "8.33, 9"
1216
ParameterizedFunctions = "5.15"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using DifferentiationInterface, DifferentiationInterfaceTest
2+
using Symbolics: Symbolics
3+
using Test
4+
5+
6+
test_differentiation(AutoSymbolics())

test/runtests.jl

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ if GROUP == "All" || GROUP == "Downstream"
9090
activate_downstream_env()
9191
#@time @safetestset "ParameterizedFunctions MATLABDiffEq Regression Test" begin include("downstream/ParameterizedFunctions_MATLAB.jl") end
9292
@safetestset "ModelingToolkit Variable Utils Test" begin include("downstream/modeling_toolkit_utils.jl") end
93+
@safetestset "DI Test" begin include("downstream/differentiation_interface.jl") end
9394
end
9495

9596
if GROUP == "All" || GROUP == "SymPy"

0 commit comments

Comments
 (0)