Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 17 additions & 20 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -212,32 +212,29 @@ function linear_advection_fd_upwind_D!(D, u, p, t)
end

@testset "PositiveIntegrators.jl tests" begin
@testset "Aqua.jl" begin
# We do not test ambiguities since we get a lot of
# false positives from dependencies.
ambiguities = false
# The persistent_tasks test fails in the Downgrade CI
# action but not in regular CI - we just skip it there.
if !isempty(get(ENV, "POSITIVEINTEGRATORS_DOWNGRADE_CI", ""))
persistent_tasks = false
else
persistent_tasks = true
end
# The stale_deps test fails in the Downstream CI action
@testset "Aqua.jl" begin
# The Aqua.jl tests fails in the Downstream CI action
# of OrdinaryDiffEq.jl but not in our regular CI - we just
# skip it there.
if !isempty(get(ENV, "GROUP", ""))
@info "Skipping stale_deps tests from Aqua.jl"
stale_deps = false
@info "Skipping tests from Aqua.jl"
else
@info "Running stale_deps tests from Aqua.jl"
stale_deps = true
end
Aqua.test_all(PositiveIntegrators;
@info "Running tests from Aqua.jl"
# We do not test ambiguities since we get a lot of
# false positives from dependencies.
ambiguities = false
# The persistent_tasks test fails in the Downgrade CI
# action but not in regular CI - we just skip it there.
if !isempty(get(ENV, "POSITIVEINTEGRATORS_DOWNGRADE_CI", ""))
persistent_tasks = false
else
persistent_tasks = true
end
Aqua.test_all(PositiveIntegrators;
ambiguities = ambiguities,
piracies = (; treat_as_own = [RecipesBase.apply_recipe],),
persistent_tasks = persistent_tasks,
stale_deps = stale_deps,)
persistent_tasks = persistent_tasks)
end
end

@testset "ExplicitImports.jl" begin
Expand Down
Loading