Skip to content

Commit

Permalink
Allow for linearsolve 3, disable aqua test for persistent tasks on 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Feb 12, 2025
1 parent 4244041 commit 7d709dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ GridVisualize = "0.5.2,0.6.1,1"
InteractiveUtils = "1.9"
JLD2 = "0.4.29, 0.5"
LinearAlgebra = "1.9"
LinearSolve = "2.36"
LinearSolve = "2.36, 3"
Printf = "1.9"
Random = "1.9"
RecursiveArrayTools = "2,3"
Expand Down
12 changes: 9 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,15 @@ function run_all_tests(; run_notebooks = false, notebooksonly = false)
Aqua.test_unbound_args(VoronoiFVM)
Aqua.test_undefined_exports(VoronoiFVM)
Aqua.test_project_extras(VoronoiFVM)
Aqua.test_stale_deps(VoronoiFVM)
Aqua.test_stale_deps(VoronoiFVM)
Aqua.test_deps_compat(VoronoiFVM)
Aqua.test_piracies(VoronoiFVM, broken = true)
Aqua.test_persistent_tasks(VoronoiFVM)
if VERSION >= v"1.11.0"
# Avoid running into https://github.com/SciML/LinearSolve.jl/issues/573
Aqua.test_persistent_tasks(VoronoiFVM)
else
@info "skipping Aqua.test_persistent_tasks(VoronoiFVM) on Julia 1.10"
end
end

if isdefined(Docs, :undocumented_names) # >=1.11
Expand All @@ -96,5 +101,6 @@ if haskey(ENV, "EXAMPLES_ONLY")
elseif haskey(ENV, "NOTEBOOKS_ONLY")
run_all_tests(; run_notebooks = true, notebooksonly = true)
else
run_all_tests(; run_notebooks = true, notebooksonly = false)
# run_all_tests(; run_notebooks = true, notebooksonly = false)
run_all_tests(; run_notebooks = false, notebooksonly = true)
end

0 comments on commit 7d709dd

Please sign in to comment.