Skip to content

Commit 0f85f42

Browse files
author
oscarddssmith
committed
add test that downstream tests are in downstream
1 parent 802fc95 commit 0f85f42

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Project.toml

Lines changed: 1 addition & 3 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"
@@ -98,7 +97,6 @@ julia = "1.10"
9897
[extras]
9998
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
10099
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
101-
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
102100
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
103101
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
104102
PartialFunctions = "570af359-4316-4cb7-8c74-252c00c2016b"
@@ -115,4 +113,4 @@ UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
115113
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
116114

117115
[targets]
118-
test = ["Pkg", "Plots", "UnicodePlots", "SafeTestsets", "Serialization", "Test", "StableRNGs", "StaticArrays", "Aqua", "Zygote", "PartialFunctions", "DataFrames", "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)