Skip to content

Commit 9570b0a

Browse files
ChrisRackauckasJoshuaLampertranocha
authored
Fully skip Aqua in downstream testing (#148)
* Fully skip Aqua in downstream testing Aqua.jl just doesn't generally do well with downstream tests. So instead of disabling one test, it should just disable them all. This will fix https://github.com/SciML/OrdinaryDiffEq.jl/actions/runs/13932593014/job/38997101429#step:5:1605 * Update test/runtests.jl Co-authored-by: Joshua Lampert <[email protected]> * update comment * format --------- Co-authored-by: Joshua Lampert <[email protected]> Co-authored-by: Hendrik Ranocha <[email protected]> Co-authored-by: Hendrik Ranocha <[email protected]>
1 parent 657f379 commit 9570b0a

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

test/runtests.jl

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -213,31 +213,28 @@ end
213213

214214
@testset "PositiveIntegrators.jl tests" begin
215215
@testset "Aqua.jl" begin
216-
# We do not test ambiguities since we get a lot of
217-
# false positives from dependencies.
218-
ambiguities = false
219-
# The persistent_tasks test fails in the Downgrade CI
220-
# action but not in regular CI - we just skip it there.
221-
if !isempty(get(ENV, "POSITIVEINTEGRATORS_DOWNGRADE_CI", ""))
222-
persistent_tasks = false
223-
else
224-
persistent_tasks = true
225-
end
226-
# The stale_deps test fails in the Downstream CI action
216+
# The Aqua.jl tests fails in the Downstream CI action
227217
# of OrdinaryDiffEq.jl but not in our regular CI - we just
228218
# skip it there.
229219
if !isempty(get(ENV, "GROUP", ""))
230-
@info "Skipping stale_deps tests from Aqua.jl"
231-
stale_deps = false
220+
@info "Skipping tests from Aqua.jl"
232221
else
233-
@info "Running stale_deps tests from Aqua.jl"
234-
stale_deps = true
222+
@info "Running tests from Aqua.jl"
223+
# We do not test ambiguities since we get a lot of
224+
# false positives from dependencies.
225+
ambiguities = false
226+
# The persistent_tasks test fails in the Downgrade CI
227+
# action but not in regular CI - we just skip it there.
228+
if !isempty(get(ENV, "POSITIVEINTEGRATORS_DOWNGRADE_CI", ""))
229+
persistent_tasks = false
230+
else
231+
persistent_tasks = true
232+
end
233+
Aqua.test_all(PositiveIntegrators;
234+
ambiguities = ambiguities,
235+
piracies = (; treat_as_own = [RecipesBase.apply_recipe],),
236+
persistent_tasks = persistent_tasks)
235237
end
236-
Aqua.test_all(PositiveIntegrators;
237-
ambiguities = ambiguities,
238-
piracies = (; treat_as_own = [RecipesBase.apply_recipe],),
239-
persistent_tasks = persistent_tasks,
240-
stale_deps = stale_deps,)
241238
end
242239

243240
@testset "ExplicitImports.jl" begin

0 commit comments

Comments
 (0)