diff --git a/Project.toml b/Project.toml index a524391d..c93ef6ab 100644 --- a/Project.toml +++ b/Project.toml @@ -56,7 +56,7 @@ LinearAlgebra = "1" Mixers = "0.1.2" ModelingToolkit = "9" NNlib = "0.9.13" -NonlinearSolve = "3.13.0" +NonlinearSolve = "4" Polyester = "0.7.12" PreallocationTools = "0.4.23" PrecompileTools = "1.2.1" diff --git a/docs/examples/StochasticSystem.jl b/oldexamples/StochasticSystem.jl similarity index 100% rename from docs/examples/StochasticSystem.jl rename to oldexamples/StochasticSystem.jl diff --git a/test/AD_test.jl b/test/AD_test.jl index 2881655b..30a60ef4 100644 --- a/test/AD_test.jl +++ b/test/AD_test.jl @@ -2,7 +2,7 @@ using NetworkDynamics using Graphs using DifferentiationInterface using DifferentiationInterfaceTest -import ForwardDiff, ReverseDiff, Enzyme, FiniteDiff +import ForwardDiff, FiniteDiff (isinteractive() && @__MODULE__()==Main ? includet : include)("ComponentLibrary.jl") diff --git a/test/Project.toml b/test/Project.toml index b6296f61..cfb693cd 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -4,34 +4,41 @@ name = "NetworkDynamics-Tests" Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" +CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" Chairmarks = "0ca39b1e-fe0b-4e98-acfc-b1656634c4de" DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" +DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def" DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63" DifferentiationInterfaceTest = "a82114a7-5aa3-49a8-9643-716bb13727a3" -Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9" +DynamicQuantities = "06fc5a27-2a28-4c7c-a15d-362465fb6821" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41" ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" +GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2" Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +LinearInterpolations = "b20c7882-2490-4592-a606-fbbfe9e745e8" Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" NetworkDynamics = "22e9dc34-2a0d-11e9-0de0-8588d035468b" OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" OrdinaryDiffEqNonlinearSolve = "127b3ac7-2247-4354-8eb6-78cf4e7c58e8" OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce" +OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" +Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" SimpleWeightedGraphs = "47aef6b3-ad0c-573a-a1e2-d07658019622" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3" +StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" SteadyStateDiffEq = "9672c7b4-1e72-59bd-8a11-6ac3964bc41f" SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/test/runtests.jl b/test/runtests.jl index 6e09cd62..0f955c96 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -56,11 +56,6 @@ using ExplicitImports end @testset "Test Doc Examples" begin - @info "Activate doc environment and test examples" - Pkg.activate(joinpath(pkgdir(NetworkDynamics), "docs")) - Pkg.develop(path=pkgdir(NetworkDynamics)) - Pkg.instantiate() - examples = joinpath(pkgdir(NetworkDynamics), "docs", "examples") for file in readdir(examples; join=true) endswith(file, ".jl") || continue