Skip to content

Commit b8b210d

Browse files
committed
ci(github-actions): simplenonlinearsolve
1 parent c108291 commit b8b210d

File tree

5 files changed

+36
-6
lines changed

5 files changed

+36
-6
lines changed

.github/workflows/CI_SimpleNonlinearSolve.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ on:
66
- master
77
paths:
88
- "lib/SimpleNonlinearSolve/**"
9+
- ".github/workflows/CI_SimpleNonlinearSolve.yml"
910
- "lib/BracketingNonlinearSolve/**"
1011
- "lib/NonlinearSolveBase/**"
11-
- ".github/workflows/CI_SimpleNonlinearSolve.yml"
12+
- "lib/SciMLJacobianOperators/**"
1213
push:
1314
branches:
1415
- master
@@ -26,7 +27,7 @@ jobs:
2627
fail-fast: false
2728
matrix:
2829
version:
29-
- "lts"
30+
- "1.10"
3031
- "1"
3132
os:
3233
- ubuntu-latest
@@ -57,7 +58,7 @@ jobs:
5758
Pkg.Registry.update()
5859
# Install packages present in subdirectories
5960
dev_pks = Pkg.PackageSpec[]
60-
for path in ("lib/NonlinearSolveBase", "lib/BracketingNonlinearSolve")
61+
for path in ("lib/NonlinearSolveBase", "lib/BracketingNonlinearSolve", "lib/SciMLJacobianOperators")
6162
push!(dev_pks, Pkg.PackageSpec(; path))
6263
end
6364
Pkg.develop(dev_pks)
@@ -68,7 +69,7 @@ jobs:
6869
GROUP: ${{ matrix.group }}
6970
- uses: julia-actions/julia-processcoverage@v1
7071
with:
71-
directories: lib/SimpleNonlinearSolve/src,lib/SimpleNonlinearSolve/ext
72+
directories: lib/SimpleNonlinearSolve/src,lib/SimpleNonlinearSolve/ext,lib/SciMLJacobianOperators/src,lib/BracketingNonlinearSolve/src,lib/BracketingNonlinearSolve/ext,lib/NonlinearSolveBase/src,lib/NonlinearSolveBase/ext
7273
- uses: codecov/codecov-action@v4
7374
with:
7475
file: lcov.info

lib/NonlinearSolveSpectralMethods/test/core_tests.jl

Whitespace-only changes.

lib/NonlinearSolveSpectralMethods/test/qa_tests.jl

Whitespace-only changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1+
using ReTestItems, NonlinearSolveSpectralMethods, Hwloc, InteractiveUtils, Pkg
12

3+
@info sprint(InteractiveUtils.versioninfo)
4+
5+
const GROUP = lowercase(get(ENV, "GROUP", "All"))
6+
7+
const RETESTITEMS_NWORKERS = parse(
8+
Int, get(ENV, "RETESTITEMS_NWORKERS", string(min(Hwloc.num_physical_cores(), 4)))
9+
)
10+
const RETESTITEMS_NWORKER_THREADS = parse(Int,
11+
get(
12+
ENV, "RETESTITEMS_NWORKER_THREADS",
13+
string(max(Hwloc.num_virtual_cores() ÷ RETESTITEMS_NWORKERS, 1))
14+
)
15+
)
16+
17+
@info "Running tests for group: $(GROUP) with $(RETESTITEMS_NWORKERS) workers"
18+
19+
ReTestItems.runtests(
20+
NonlinearSolveSpectralMethods; tags = (GROUP == "all" ? nothing : [Symbol(GROUP)]),
21+
nworkers = RETESTITEMS_NWORKERS, nworker_threads = RETESTITEMS_NWORKER_THREADS,
22+
testitem_timeout = 3600
23+
)

lib/SimpleNonlinearSolve/test/core/qa_tests.jl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
@testitem "Aqua" tags=[:core] begin
22
using Aqua, SimpleNonlinearSolve
33

4-
Aqua.test_all(SimpleNonlinearSolve; piracies = false, ambiguities = false)
4+
Aqua.test_all(
5+
SimpleNonlinearSolve;
6+
piracies = false, ambiguities = false, stale_deps = false, deps_compat = false
7+
)
8+
Aqua.test_stale_deps(SimpleNonlinearSolve; ignore = [:SciMLJacobianOperators])
9+
Aqua.test_deps_compat(SimpleNonlinearSolve; ignore = [:SciMLJacobianOperators])
510
Aqua.test_piracies(SimpleNonlinearSolve;
611
treat_as_own = [
7-
NonlinearProblem, NonlinearLeastSquaresProblem, IntervalNonlinearProblem])
12+
NonlinearProblem, NonlinearLeastSquaresProblem, IntervalNonlinearProblem
13+
]
14+
)
815
Aqua.test_ambiguities(SimpleNonlinearSolve; recursive = false)
916
end
1017

0 commit comments

Comments
 (0)