Skip to content

Commit

Permalink
Merge pull request #82 from ArnoStrouwen/aqua
Browse files Browse the repository at this point in the history
Aqua ci
  • Loading branch information
ChrisRackauckas authored Dec 12, 2023
2 parents 7cb3b6a + 4b88b75 commit 3973ad1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- Core
version:
- '1'
- '1.6'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
19 changes: 17 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,24 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"

[compat]
Adapt = "3"
Aqua = "0.8"
ArrayInterface = "7"
ForwardDiff = "0.10.3"
LabelledArrays = "1"
LinearAlgebra = "1"
Optimization = "3"
OptimizationOptimJL = "0.1"
OrdinaryDiffEq = "6"
Pkg = "1"
Random = "1"
RecursiveArrayTools = "2"
Requires = "1.0"
julia = "1.6"
ReverseDiff = "1"
SafeTestsets = "0.1"
SparseArrays = "1"
Symbolics = "5"
Test = "1"
julia = "1.9"

[weakdeps]
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
Expand All @@ -23,6 +37,7 @@ ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
PreallocationToolsReverseDiffExt = "ReverseDiff"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
LabelledArrays = "2ee39098-c373-598a-b85f-a56591580800"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba"
Expand All @@ -38,4 +53,4 @@ Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Random", "LabelledArrays", "LinearAlgebra", "OrdinaryDiffEq", "Test", "RecursiveArrayTools", "Pkg", "SafeTestsets", "Optimization", "OptimizationOptimJL", "SparseArrays", "Symbolics"]
test = ["Aqua", "Random", "LabelledArrays", "LinearAlgebra", "OrdinaryDiffEq", "Test", "RecursiveArrayTools", "Pkg", "SafeTestsets", "Optimization", "OptimizationOptimJL", "SparseArrays", "Symbolics"]
11 changes: 11 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using PreallocationTools, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(PreallocationTools)
Aqua.test_ambiguities(PreallocationTools, recursive = false)
Aqua.test_deps_compat(PreallocationTools)
Aqua.test_piracies(PreallocationTools)
Aqua.test_project_extras(PreallocationTools)
Aqua.test_stale_deps(PreallocationTools)
Aqua.test_unbound_args(PreallocationTools)
Aqua.test_undefined_exports(PreallocationTools)
end
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ function activate_downstream_env()
end

if GROUP == "All" || GROUP == "Core"
@safetestset "Quality Assurance" begin
include("qa.jl")
end
@safetestset "DiffCache Dispatch" begin
include("core_dispatch.jl")
end
Expand Down

0 comments on commit 3973ad1

Please sign in to comment.