Skip to content

Commit b4733bb

Browse files
Merge pull request #107 from ArnoStrouwen/qa
Aqua + typos CI
2 parents 36cfdf1 + dc1d387 commit b4733bb

File tree

7 files changed

+34
-2
lines changed

7 files changed

+34
-2
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/typos@v1.16.23

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[default.extend-words]

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2626
ChainRulesCore = "1"
2727
ConcreteStructs = "0.2"
2828
DiffEqBase = "6.119"
29+
LinearAlgebra = "1"
2930
LinearSolve = "1, 2"
3031
Lux = "0.5.7"
3132
NonlinearSolve = "2"
3233
OrdinaryDiffEq = "6"
34+
Random = "1"
3335
Reexport = "1"
3436
SciMLBase = "2"
3537
SciMLSensitivity = "7.43"

test/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[deps]
2+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
23
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
34
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
45
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
@@ -19,4 +20,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1920
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2021

2122
[compat]
23+
Aqua = "0.8"
2224
julia = "1.6"

test/layers/jacobian_stabilization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ function test_jacobian_trace_estimation_gradient()
7171
return nothing
7272
end
7373

74-
@testset "Jacobian Trace Extimation" begin
74+
@testset "Jacobian Trace Estimation" begin
7575
test_jacobian_trace_estimation()
7676
end
77-
@testset "Jacobian Trace Extimation: Gradient" begin
77+
@testset "Jacobian Trace Estimation: Gradient" begin
7878
test_jacobian_trace_estimation_gradient()
7979
end

test/qa.jl

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

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ using SafeTestsets, Test
33
const GROUP = get(ENV, "GROUP", "ALL")
44

55
if GROUP == "ALL" || GROUP == "CORE"
6+
@safetestset "Quality Assurance" begin
7+
include("qa.jl")
8+
end
69
@safetestset "Solve" begin
710
include("solve.jl")
811
end

0 commit comments

Comments
 (0)