Skip to content

Commit

Permalink
Aqua + typos CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Nov 29, 2023
1 parent 747e507 commit 5c05eb5
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
4 changes: 4 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default.extend-words]
nd = "nd"
dout = "dout"
Missings = "Missings"
10 changes: 9 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,33 @@ IntegralsForwardDiffExt = "ForwardDiff"
IntegralsZygoteExt = ["Zygote", "ChainRulesCore"]

[compat]
Aqua = "0.8"
Arblib = "1"
ChainRulesCore = "0.10.7, 1"
CommonSolve = "0.2"
Cuba = "2"
Cubature = "1"
Distributions = "0.23, 0.24, 0.25"
FastGaussQuadrature = "0.5"
FiniteDiff = "2"
ForwardDiff = "0.10"
HCubature = "1.4"
LinearAlgebra = "1.9"
MonteCarloIntegration = "0.0.1, 0.0.2, 0.0.3, 0.1"
Pkg = "1"
QuadGK = "2.9"
Reexport = "0.2, 1.0"
Requires = "1"
SafeTestsets = "0.1"
SciMLBase = "2.6"
SciMLSensitivity = "7"
StaticArrays = "1"
Test = "1"
Zygote = "0.4.22, 0.5, 0.6"
julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Arblib = "fb37089c-8514-4489-9461-98f9c8763369"
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Cuba = "8a292aeb-7a57-582c-b821-06e4c11590b1"
Expand All @@ -66,4 +74,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Arblib", "SciMLSensitivity", "StaticArrays", "FiniteDiff", "Pkg", "SafeTestsets", "Test", "Distributions", "ForwardDiff", "Zygote", "ChainRulesCore", "FastGaussQuadrature", "Cuba", "Cubature"]
test = ["Aqua", "Arblib", "SciMLSensitivity", "StaticArrays", "FiniteDiff", "Pkg", "SafeTestsets", "Test", "Distributions", "ForwardDiff", "Zygote", "ChainRulesCore", "FastGaussQuadrature", "Cuba", "Cubature"]
12 changes: 12 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using Integrals, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(Integrals)
Aqua.test_ambiguities(Integrals, recursive = false)
Aqua.test_deps_compat(Integrals)
Aqua.test_piracies(Integrals,
treat_as_own = [IntegralProblem, SampledIntegralProblem])
Aqua.test_project_extras(Integrals)
Aqua.test_stale_deps(Integrals)
Aqua.test_unbound_args(Integrals)
Aqua.test_undefined_exports(Integrals)
end
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ using Pkg
using SafeTestsets
using Test


@time @safetestset "Quality Assurance" include("qa.jl")
@time @safetestset "Interface Tests" include("interface_tests.jl")
@time @safetestset "Derivative Tests" include("derivative_tests.jl")
@time @safetestset "Infinite Integral Tests" include("inf_integral_tests.jl")
Expand Down

0 comments on commit 5c05eb5

Please sign in to comment.