Skip to content

Commit af0bb16

Browse files
authored
fix downstream tests of OrdinaryDiffEq.jl (#147)
1 parent 79e8368 commit af0bb16

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

test/runtests.jl

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,29 @@ end
215215
@testset "Aqua.jl" begin
216216
# We do not test ambiguities since we get a lot of
217217
# false positives from dependencies.
218+
ambiguities = false
218219
# The persistent_tasks test fails in the Downgrade CI
219220
# action but not in regular CI - we just skip it there.
220221
if !isempty(get(ENV, "POSITIVEINTEGRATORS_DOWNGRADE_CI", ""))
221222
persistent_tasks = false
222223
else
223224
persistent_tasks = true
224225
end
226+
# The stale_deps test fails in the Downstream CI action
227+
# of OrdinaryDiffEq.jl but not in our regular CI - we just
228+
# skip it there.
229+
if !isempty(get(ENV, "GROUP", ""))
230+
@info "Skipping stale_deps tests from Aqua.jl"
231+
stale_deps = false
232+
else
233+
@info "Running stale_deps tests from Aqua.jl"
234+
stale_deps = true
235+
end
225236
Aqua.test_all(PositiveIntegrators;
226-
ambiguities = false,
237+
ambiguities = ambiguities,
227238
piracies = (; treat_as_own = [RecipesBase.apply_recipe],),
228-
persistent_tasks = persistent_tasks,)
239+
persistent_tasks = persistent_tasks,
240+
stale_deps = stale_deps,)
229241
end
230242

231243
@testset "ExplicitImports.jl" begin

0 commit comments

Comments
 (0)