diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707ce..1e8a051e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,6 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" + ignore: + - dependency-name: "crate-ci/typos" + update-types: ["version-update:semver-patch"] diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 00000000..599253c8 --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -0,0 +1,13 @@ +name: Spell Check + +on: [pull_request] + +jobs: + typos-check: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v3 + - name: Check spelling + uses: crate-ci/typos@v1.16.23 \ No newline at end of file diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000..52989a21 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,2 @@ +[default.extend-words] +extrapolant = "extrapolant" \ No newline at end of file diff --git a/Project.toml b/Project.toml index 2feb2388..e80b047e 100644 --- a/Project.toml +++ b/Project.toml @@ -21,7 +21,10 @@ SimpleUnPack = "ce78b400-467f-4804-87d8-8f486da07d0a" ArrayInterface = "6, 7" DataStructures = "0.18" DiffEqBase = "6.122" +LinearAlgebra = "1" +Logging = "1" OrdinaryDiffEq = "6.49.1" +Printf = "1" RecursiveArrayTools = "2, 3" Reexport = "0.2, 1.0" SciMLBase = "1.90, 2" diff --git a/src/integrators/interface.jl b/src/integrators/interface.jl index b451149f..c19e1f1a 100644 --- a/src/integrators/interface.jl +++ b/src/integrators/interface.jl @@ -491,7 +491,7 @@ end DiffEqBase.has_stats(::DDEIntegrator) = true # https://github.com/SciML/OrdinaryDiffEq.jl/pull/1753 -# Backwards compatability +# Backwards compatibility @static if isdefined(OrdinaryDiffEq, :DEPRECATED_ADDSTEPS) const _ode_addsteps! = OrdinaryDiffEq._ode_addsteps! const ode_addsteps! = OrdinaryDiffEq.ode_addsteps! diff --git a/test/Project.toml b/test/Project.toml index 1ad758f6..13bec83d 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,4 +1,5 @@ [deps] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" DDEProblemLibrary = "f42792ee-6ffc-4e2a-ae83-8ee2f22de800" DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e" DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def" @@ -14,4 +15,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" [compat] +Aqua = "0.8" DDEProblemLibrary = "0.1.2" \ No newline at end of file diff --git a/test/qa.jl b/test/qa.jl new file mode 100644 index 00000000..88b702fa --- /dev/null +++ b/test/qa.jl @@ -0,0 +1,13 @@ +using DelayDiffEq, Aqua +@testset "Aqua" begin + Aqua.find_persistent_tasks_deps(DelayDiffEq) + Aqua.test_ambiguities(DelayDiffEq, recursive = false) + Aqua.test_deps_compat(DelayDiffEq) + Aqua.test_piracies(DelayDiffEq, + treat_as_own = [DelayDiffEq.SciMLBase.DESolution, + DelayDiffEq.SciMLBase.SciMLSolution]) + Aqua.test_project_extras(DelayDiffEq) + Aqua.test_stale_deps(DelayDiffEq) + Aqua.test_unbound_args(DelayDiffEq) + Aqua.test_undefined_exports(DelayDiffEq) +end diff --git a/test/runtests.jl b/test/runtests.jl index 8377bced..f673d5d2 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,6 +3,7 @@ using SafeTestsets const GROUP = get(ENV, "GROUP", "All") if GROUP == "All" || GROUP == "Interface" + @time @safetestset "Quality Assurance" begin include("qa.jl") end @time @safetestset "AD Tests" begin include("interface/ad.jl") end @time @safetestset "Backwards Tests" begin include("interface/backwards.jl") end @time @safetestset "Composite Solution Tests" begin include("interface/composite_solution.jl") end