Skip to content

Commit 2e55f9e

Browse files
committed
Aqua + typos CI
1 parent 9aaf9b3 commit 2e55f9e

File tree

7 files changed

+51
-5
lines changed

7 files changed

+51
-5
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Spell Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
typos-check:
7+
name: Spell Check with Typos
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions Repository
11+
uses: actions/checkout@v3
12+
- name: Check spelling
13+
uses: crate-ci/[email protected]

.typos.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[default.extend-words]
2+
fom = "fom"
3+
Pris = "Pris"
4+
PARM = "PARM"

Project.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,39 +58,55 @@ LinearSolveRecursiveArrayToolsExt = "RecursiveArrayTools"
5858
LinearSolveFastAlmostBandedMatricesExt = ["FastAlmostBandedMatrices"]
5959

6060
[compat]
61+
Aqua = "0.8"
6162
ArrayInterface = "7.4.11"
6263
BandedMatrices = "1"
6364
BlockDiagonals = "0.1"
6465
ConcreteStructs = "0.2"
66+
CUDA = "5"
6567
DocStringExtensions = "0.9"
6668
EnumX = "1"
69+
Enzyme = "0.11"
6770
EnzymeCore = "0.6"
71+
FastAlmostBandedMatrices = "0.1"
6872
FastLapackInterface = "2"
73+
FiniteDiff = "2"
74+
ForwardDiff = "0.10"
6975
GPUArraysCore = "0.1"
7076
HYPRE = "1.4.0"
7177
InteractiveUtils = "1.6"
7278
IterativeSolvers = "0.9.3"
7379
Libdl = "1.6"
7480
LinearAlgebra = "1.9"
81+
JET = "0.8"
7582
KLU = "0.3.0, 0.4"
7683
KernelAbstractions = "0.9"
7784
Krylov = "0.9"
7885
KrylovKit = "0.6"
86+
Metal = "0.5"
87+
MPI = "0.20"
88+
MultiFloats = "1"
89+
Pardiso = "0.5"
90+
Pkg = "1"
7991
PrecompileTools = "1"
8092
Preferences = "1"
93+
Random = "1"
8194
RecursiveArrayTools = "2"
8295
RecursiveFactorization = "0.2.8"
8396
Reexport = "1"
8497
Requires = "1"
98+
SafeTestsets = "0.1"
8599
SciMLBase = "2"
86100
SciMLOperators = "0.3"
87101
Setfield = "1"
88102
SparseArrays = "1.9"
89103
Sparspak = "0.3.6"
104+
Test = "1"
90105
UnPack = "1"
91106
julia = "1.9"
92107

93108
[extras]
109+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
94110
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
95111
BlockDiagonals = "0a1fb500-61f7-11e9-3c65-f5ef3456f9f0"
96112
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
@@ -113,4 +129,4 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
113129
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
114130

115131
[targets]
116-
test = ["Test", "IterativeSolvers", "InteractiveUtils", "JET", "KrylovKit", "Pkg", "Random", "SafeTestsets", "MultiFloats", "ForwardDiff", "HYPRE", "MPI", "BlockDiagonals", "Enzyme", "FiniteDiff", "BandedMatrices", "FastAlmostBandedMatrices"]
132+
test = ["Aqua", "Test", "IterativeSolvers", "InteractiveUtils", "JET", "KrylovKit", "Pkg", "Random", "SafeTestsets", "MultiFloats", "ForwardDiff", "HYPRE", "MPI", "BlockDiagonals", "Enzyme", "FiniteDiff", "BandedMatrices", "FastAlmostBandedMatrices"]

docs/src/solvers/solvers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ NormalBunchKaufmanFactorization
109109

110110
### LinearSolve.jl
111111

112-
LinearSolve.jl contains some linear solvers built in for specailized cases.
112+
LinearSolve.jl contains some linear solvers built in for specialized cases.
113113

114114
```@docs
115115
SimpleLUFactorization

test/basictests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ function test_interface(alg, prob1, prob2)
4343
sol = solve(prob2, alg; cache_kwargs...)
4444
@test A2 * sol.u b2
4545

46-
# Test cache resue: base mechanism
46+
# Test cache reuse: base mechanism
4747
cache = SciMLBase.init(prob1, alg; cache_kwargs...) # initialize cache
4848
sol = solve!(cache)
4949
@test A1 * sol.u b1
5050

51-
# Test cache resue: only A changes
51+
# Test cache reuse: only A changes
5252
cache.A = deepcopy(A2)
5353
sol = solve!(cache; cache_kwargs...)
5454
@test A2 * sol.u b1
5555

56-
# Test cache resue: both A and b change
56+
# Test cache reuse: both A and b change
5757
cache.A = deepcopy(A2)
5858
cache.b = b2
5959
sol = solve!(cache; cache_kwargs...)

test/qa.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using LinearSolve, Aqua
2+
@testset "Aqua" begin
3+
Aqua.find_persistent_tasks_deps(LinearSolve)
4+
Aqua.test_ambiguities(LinearSolve, recursive = false, broken = true)
5+
Aqua.test_deps_compat(LinearSolve, ignore = [:MKL_jll])
6+
Aqua.test_piracies(LinearSolve,
7+
treat_as_own = [LinearProblem])
8+
Aqua.test_project_extras(LinearSolve)
9+
Aqua.test_stale_deps(LinearSolve)
10+
Aqua.test_unbound_args(LinearSolve)
11+
Aqua.test_undefined_exports(LinearSolve)
12+
end

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const GROUP = get(ENV, "GROUP", "All")
77
const HAS_EXTENSIONS = isdefined(Base, :get_extension)
88

99
if GROUP == "All" || GROUP == "Core"
10+
@time @safetestset "Quality Assurance" include("qa.jl")
1011
@time @safetestset "Basic Tests" include("basictests.jl")
1112
VERSION >= v"1.9" && @time @safetestset "Re-solve" include("resolve.jl")
1213
@time @safetestset "Zero Initialization Tests" include("zeroinittests.jl")

0 commit comments

Comments
 (0)