Skip to content

Commit 8e421f8

Browse files
Update QA testing to SciMLTesting v2.1
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent e37b0a8 commit 8e421f8

29 files changed

Lines changed: 192 additions & 287 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Reexport = "1.2"
6161
SafeTestsets = "0.1.0"
6262
SciMLBase = "3.30"
6363
SciMLLogging = "1.10.1, 2"
64-
SciMLTesting = "1"
64+
SciMLTesting = "2.1"
6565
Sparspak = "0.3.11"
6666
StaticArrays = "1.9.8"
6767
Test = "1.10"

docs/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
2121
SimpleBoundaryValueDiffEq = "be0294bd-f90f-4760-ac4e-3421ce2b2da0"
2222

2323
[sources]
24-
BoundaryValueDiffEq = {path = ".."}
2524
BoundaryValueDiffEqAscher = {path = "../lib/BoundaryValueDiffEqAscher"}
2625
BoundaryValueDiffEqCore = {path = "../lib/BoundaryValueDiffEqCore"}
2726
BoundaryValueDiffEqFIRK = {path = "../lib/BoundaryValueDiffEqFIRK"}

docs/pages.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pages = [
1616
"solvers/mirk.md", "solvers/firk.md", "solvers/shooting.md", "solvers/mirkn.md",
1717
"solvers/ascher.md", "solvers/simple_solvers.md", "solvers/wrappers.md",
1818
],
19-
"Wrapped Solver APIs" => Any["api/odeinterface.md"],
19+
"API" => Any["api/autodocs.md", "api/odeinterface.md"],
2020
"Development Documentation" => Any["devdocs/internal_interfaces.md"],
2121
"References" => "references.md",
2222
]

docs/src/api/autodocs.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# API Docstrings
2+
3+
```@autodocs
4+
Modules = [
5+
BoundaryValueDiffEq,
6+
BoundaryValueDiffEqCore,
7+
BoundaryValueDiffEqMIRK,
8+
BoundaryValueDiffEqFIRK,
9+
BoundaryValueDiffEqMIRKN,
10+
BoundaryValueDiffEqShooting,
11+
BoundaryValueDiffEqAscher,
12+
]
13+
```

lib/BoundaryValueDiffEqAscher/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Random = "1.10"
3131
RecursiveArrayTools = "3.27.0, 4"
3232
Reexport = "1.2"
3333
SciMLBase = "3.30"
34-
SciMLTesting = "1"
34+
SciMLTesting = "2.1"
3535
Setfield = "1.1.1"
3636
StaticArrays = "1.9.8"
3737
Test = "1.10"

lib/BoundaryValueDiffEqAscher/test/qa/Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
66
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
77

88
[sources]
9-
BoundaryValueDiffEqAscher = {path = "../.."}
109
BoundaryValueDiffEqCore = {path = "../../../BoundaryValueDiffEqCore"}
1110

1211
[compat]
1312
Aqua = "0.8"
1413
BoundaryValueDiffEqAscher = "1"
1514
BoundaryValueDiffEqCore = "2"
16-
SciMLTesting = "1.6"
15+
SciMLTesting = "2.1"
1716
Test = "1.10"
1817
julia = "1.10"

lib/BoundaryValueDiffEqAscher/test/qa/qa.jl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@ using SciMLTesting
22
using BoundaryValueDiffEqAscher
33
using Test
44

5+
const DOCS_SRC = normpath(joinpath(@__DIR__, "..", "..", "..", "..", "docs", "src"))
6+
const UPSTREAM_REEXPORTS_WITH_DOC_OWNERSHIP = (
7+
:AutoModelingToolkit,
8+
:AutoSparseFastDifferentiation,
9+
:AutoSparseFiniteDiff,
10+
:AutoSparseForwardDiff,
11+
:AutoSparsePolyesterForwardDiff,
12+
:AutoSparseReverseDiff,
13+
:AutoSparseZygote,
14+
:pickchunksize,
15+
)
16+
517
run_qa(
618
BoundaryValueDiffEqAscher;
719
explicit_imports = true,
@@ -13,4 +25,10 @@ run_qa(
1325
# no public replacement.
1426
all_qualified_accesses_are_public = (; ignore = (:Dual, :jacobian!)),
1527
),
28+
api_docs_kwargs = (;
29+
rendered = true,
30+
docs_src = DOCS_SRC,
31+
ignore = UPSTREAM_REEXPORTS_WITH_DOC_OWNERSHIP,
32+
rendered_ignore = UPSTREAM_REEXPORTS_WITH_DOC_OWNERSHIP,
33+
),
1634
)

lib/BoundaryValueDiffEqCore/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Reexport = "1.2"
4848
SciMLBase = "3.30"
4949
SciMLLogging = "1.10.1, 2"
5050
SciMLPublic = "1"
51-
SciMLTesting = "1"
51+
SciMLTesting = "2.1"
5252
SciMLStructures = "1.7.0"
5353
Setfield = "1"
5454
SparseArrays = "1.10"

lib/BoundaryValueDiffEqCore/test/qa/Project.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ BoundaryValueDiffEqCore = "56b672f2-a5fe-4263-ab2d-da677488eb3a"
44
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
55
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
66

7-
[sources]
8-
BoundaryValueDiffEqCore = {path = "../.."}
9-
107
[compat]
118
Aqua = "0.8"
129
BoundaryValueDiffEqCore = "2"
13-
SciMLTesting = "1.6"
10+
SciMLTesting = "2.1"
1411
Test = "1.10"
1512
julia = "1.10"

lib/BoundaryValueDiffEqCore/test/qa/qa.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ using SciMLTesting
22
using BoundaryValueDiffEqCore
33
using Test
44

5+
const DOCS_SRC = normpath(joinpath(@__DIR__, "..", "..", "..", "..", "docs", "src"))
6+
const UPSTREAM_REEXPORTS_WITH_DOC_OWNERSHIP = (:pickchunksize,)
7+
58
run_qa(
69
BoundaryValueDiffEqCore;
710
explicit_imports = true,
@@ -34,4 +37,10 @@ run_qa(
3437
),
3538
),
3639
),
40+
api_docs_kwargs = (;
41+
rendered = true,
42+
docs_src = DOCS_SRC,
43+
ignore = UPSTREAM_REEXPORTS_WITH_DOC_OWNERSHIP,
44+
rendered_ignore = UPSTREAM_REEXPORTS_WITH_DOC_OWNERSHIP,
45+
),
3746
)

0 commit comments

Comments
 (0)