Skip to content

Commit 7cc3030

Browse files
committed
test: try fixing circular deps
1 parent babf282 commit 7cc3030

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.github/workflows/Documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
Pkg.Registry.update()
2323
# Install packages present in subdirectories
2424
dev_pks = Pkg.PackageSpec[]
25-
for path in ("lib/SciMLJacobianOperators", ".")
25+
for path in ("lib/SciMLJacobianOperators", ".", "lib/SimpleNonlinearSolve", "lib/NonlinearSolveBase", "lib/BracketingNonlinearSolve")
2626
push!(dev_pks, Pkg.PackageSpec(; path))
2727
end
2828
Pkg.develop(dev_pks)

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
132132
LeastSquaresOptim = "0fc2ff8b-aaa3-5acd-a817-1944a5e08891"
133133
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
134134
MINPACK = "4854310b-de5a-5eb6-a2a5-c1dee2bd17f9"
135-
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
136135
NLSolvers = "337daf1e-9722-11e9-073e-8b9effe078ba"
137136
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
138137
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
@@ -150,4 +149,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
150149
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
151150

152151
[targets]
153-
test = ["Aqua", "BandedMatrices", "BenchmarkTools", "CUDA", "Enzyme", "ExplicitImports", "FastLevenbergMarquardt", "FixedPointAcceleration", "Hwloc", "InteractiveUtils", "LeastSquaresOptim", "LineSearches", "MINPACK", "ModelingToolkit", "NLSolvers", "NLsolve", "NaNMath", "NonlinearProblemLibrary", "OrdinaryDiffEqTsit5", "Pkg", "Random", "ReTestItems", "SIAMFANLEquations", "SpeedMapping", "StableRNGs", "StaticArrays", "Sundials", "Test", "Zygote"]
152+
test = ["Aqua", "BandedMatrices", "BenchmarkTools", "CUDA", "Enzyme", "ExplicitImports", "FastLevenbergMarquardt", "FixedPointAcceleration", "Hwloc", "InteractiveUtils", "LeastSquaresOptim", "LineSearches", "MINPACK", "NLSolvers", "NLsolve", "NaNMath", "NonlinearProblemLibrary", "OrdinaryDiffEqTsit5", "Pkg", "Random", "ReTestItems", "SIAMFANLEquations", "SpeedMapping", "StableRNGs", "StaticArrays", "Sundials", "Test", "Zygote"]

docs/Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ DocumenterInterLinks = "1.0.0"
3737
IncompleteLU = "0.2"
3838
InteractiveUtils = "<0.0.1, 1"
3939
LinearSolve = "2"
40-
ModelingToolkit = "8, 9"
41-
NonlinearSolve = "3"
40+
ModelingToolkit = "9"
41+
NonlinearSolve = "4"
4242
OrdinaryDiffEqTsit5 = "1.1.0"
4343
Plots = "1"
44-
Random = "<0.0.1, 1"
44+
Random = "1.10"
4545
SciMLBase = "2.4"
4646
SciMLJacobianOperators = "0.1"
47-
SimpleNonlinearSolve = "1"
47+
SimpleNonlinearSolve = "2"
4848
SparseConnectivityTracer = "0.6.5"
4949
StaticArrays = "1"
5050
SteadyStateDiffEq = "2"

test/runtests.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
using ReTestItems, NonlinearSolve, Hwloc, InteractiveUtils
1+
using ReTestItems, NonlinearSolve, Hwloc, InteractiveUtils, Pkg
22

33
@info sprint(InteractiveUtils.versioninfo)
44

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

7+
const EXTRA_PKGS = Pkg.PackageSpec[]
8+
(GROUP == "all" || GROUP == "downstream") &&
9+
push!(EXTRA_PKGS, Pkg.PackageSpec("ModelingToolkit"))
10+
Pkg.add(EXTRA_PKGS)
11+
712
const RETESTITEMS_NWORKERS = parse(
813
Int, get(ENV, "RETESTITEMS_NWORKERS", string(min(Hwloc.num_physical_cores(), 4))))
914
const RETESTITEMS_NWORKER_THREADS = parse(Int,

0 commit comments

Comments
 (0)