Skip to content

Commit b5b7ed9

Browse files
Merge pull request #976 from oscardssmith/os/improve-tests
move downstream tests downstream
2 parents 1742386 + 437e551 commit b5b7ed9

File tree

7 files changed

+367
-16
lines changed

7 files changed

+367
-16
lines changed

.github/workflows/Downgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
version: ['1']
18+
version: ['min']
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: julia-actions/setup-julia@v2

Project.toml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ ChainRules = "1.58.0"
6060
ChainRulesCore = "1.18"
6161
CommonSolve = "0.2.4"
6262
ConstructionBase = "1.5"
63-
DataFrames = "1.6"
6463
Distributed = "1.10"
6564
DocStringExtensions = "0.9"
6665
EnumX = "1"
@@ -73,7 +72,6 @@ MLStyle = "0.4.17"
7372
Makie = "0.20, 0.21, 0.22"
7473
Markdown = "1.10"
7574
Moshi = "0.3"
76-
NonlinearSolve = "3, 4"
7775
PartialFunctions = "1.1"
7876
PrecompileTools = "1.2"
7977
Preferences = "1.3"
@@ -99,12 +97,8 @@ julia = "1.10"
9997
[extras]
10098
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
10199
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
102-
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
103-
DelayDiffEq = "bcd4f6db-9728-5f36-b5f7-82caef46ccdb"
104100
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
105101
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
106-
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
107-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
108102
PartialFunctions = "570af359-4316-4cb7-8c74-252c00c2016b"
109103
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
110104
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
@@ -113,11 +107,10 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
113107
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
114108
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
115109
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
116-
StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
117110
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
118111
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
119112
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
120113
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
121114

122115
[targets]
123-
test = ["Pkg", "Plots", "UnicodePlots", "SafeTestsets", "Serialization", "Test", "StableRNGs", "StaticArrays", "StochasticDiffEq", "Aqua", "Zygote", "PartialFunctions", "DataFrames", "NonlinearSolve", "OrdinaryDiffEq", "ForwardDiff", "Tables", "MLStyle"]
116+
test = ["Aqua", "ForwardDiff", "MLStyle", "PartialFunctions", "Pkg", "Plots", "SafeTestsets", "Serialization", "StableRNGs", "StaticArrays", "Tables", "Test", "UnicodePlots", "Zygote"]

test/aqua.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
using Test
22
using SciMLBase
33
using Aqua
4+
using Pkg
5+
6+
# yes this is horrible, we'll fix it when Pkg or Base provides a decent API
7+
manifest = Pkg.Types.EnvCache().manifest
8+
# these are good sentinels to test whether someone has added a heavy SciML package to the test deps
9+
if haskey(manifest.deps, "NonlinearSolveBase") || haskey(manifest.deps, "DiffEqBase")
10+
error("Don't put Downstream Packages in non Downstream CI")
11+
end
412

513
# https://github.com/JuliaArrays/FillArrays.jl/pull/163
614
@test isempty(detect_ambiguities(SciMLBase))

test/downstream/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[deps]
22
BoundaryValueDiffEq = "764a87c0-6b3e-53db-9096-fe964310641d"
3+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
34
DelayDiffEq = "bcd4f6db-9728-5f36-b5f7-82caef46ccdb"
45
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
56
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
@@ -30,6 +31,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
3031

3132
[compat]
3233
BoundaryValueDiffEq = "5"
34+
DataFrames = "1.6"
3335
DelayDiffEq = "5"
3436
DiffEqCallbacks = "3, 4"
3537
ForwardDiff = "0.10"

0 commit comments

Comments
 (0)