Skip to content

Commit 244d7bb

Browse files
committed
test: lazy install packages
1 parent e652e81 commit 244d7bb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

lib/SimpleNonlinearSolve/Project.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ AllocCheck = "0.1.1"
4141
Aqua = "0.8.7"
4242
ArrayInterface = "7.16"
4343
BracketingNonlinearSolve = "1"
44-
CUDA = "5.3"
4544
ChainRulesCore = "1.24"
4645
CommonSolve = "0.2.4"
4746
ConcreteStructs = "0.2.3"
@@ -64,7 +63,6 @@ PrecompileTools = "1.2"
6463
Random = "1.10"
6564
ReverseDiff = "1.15"
6665
SciMLBase = "2.50"
67-
SciMLSensitivity = "7.68"
6866
StaticArrays = "1.9"
6967
StaticArraysCore = "1.4.3"
7068
Test = "1.10"
@@ -76,7 +74,6 @@ julia = "1.10"
7674
[extras]
7775
AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a"
7876
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
79-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
8077
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
8178
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
8279
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
@@ -86,12 +83,11 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
8683
PolyesterForwardDiff = "98d1487c-24ca-40b6-b7ab-df2af84e126b"
8784
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
8885
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
89-
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
9086
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
9187
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
9288
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
9389
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
9490
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
9591

9692
[targets]
97-
test = ["AllocCheck", "Aqua", "CUDA", "DiffEqBase", "Enzyme", "ExplicitImports", "InteractiveUtils", "NonlinearProblemLibrary", "Pkg", "PolyesterForwardDiff", "Random", "ReverseDiff", "SciMLSensitivity", "StaticArrays", "Test", "TestItemRunner", "Tracker", "Zygote"]
93+
test = ["AllocCheck", "Aqua", "DiffEqBase", "Enzyme", "ExplicitImports", "InteractiveUtils", "NonlinearProblemLibrary", "Pkg", "PolyesterForwardDiff", "Random", "ReverseDiff", "StaticArrays", "Test", "TestItemRunner", "Tracker", "Zygote"]

lib/SimpleNonlinearSolve/test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ using TestItemRunner, InteractiveUtils, Pkg
44

55
const GROUP = lowercase(get(ENV, "GROUP", "All"))
66

7+
(GROUP == "all" || GROUP == "cuda") && Pkg.add(["CUDA"])
8+
(GROUP == "all" || GROUP == "adjoint") && Pkg.add(["SciMLSensitivity"])
9+
710
if GROUP == "all"
811
@run_package_tests
912
else

0 commit comments

Comments
 (0)