Skip to content

Commit 3973ad1

Browse files
Merge pull request #82 from ArnoStrouwen/aqua
Aqua ci
2 parents 7cb3b6a + 4b88b75 commit 3973ad1

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- Core
2020
version:
2121
- '1'
22-
- '1.6'
2322
steps:
2423
- uses: actions/checkout@v4
2524
- uses: julia-actions/setup-julia@v1

Project.toml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,24 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1111

1212
[compat]
1313
Adapt = "3"
14+
Aqua = "0.8"
1415
ArrayInterface = "7"
1516
ForwardDiff = "0.10.3"
17+
LabelledArrays = "1"
18+
LinearAlgebra = "1"
19+
Optimization = "3"
20+
OptimizationOptimJL = "0.1"
21+
OrdinaryDiffEq = "6"
22+
Pkg = "1"
23+
Random = "1"
24+
RecursiveArrayTools = "2"
1625
Requires = "1.0"
17-
julia = "1.6"
26+
ReverseDiff = "1"
27+
SafeTestsets = "0.1"
28+
SparseArrays = "1"
29+
Symbolics = "5"
30+
Test = "1"
31+
julia = "1.9"
1832

1933
[weakdeps]
2034
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
@@ -23,6 +37,7 @@ ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
2337
PreallocationToolsReverseDiffExt = "ReverseDiff"
2438

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

4055
[targets]
41-
test = ["Random", "LabelledArrays", "LinearAlgebra", "OrdinaryDiffEq", "Test", "RecursiveArrayTools", "Pkg", "SafeTestsets", "Optimization", "OptimizationOptimJL", "SparseArrays", "Symbolics"]
56+
test = ["Aqua", "Random", "LabelledArrays", "LinearAlgebra", "OrdinaryDiffEq", "Test", "RecursiveArrayTools", "Pkg", "SafeTestsets", "Optimization", "OptimizationOptimJL", "SparseArrays", "Symbolics"]

test/qa.jl

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

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ function activate_downstream_env()
1111
end
1212

1313
if GROUP == "All" || GROUP == "Core"
14+
@safetestset "Quality Assurance" begin
15+
include("qa.jl")
16+
end
1417
@safetestset "DiffCache Dispatch" begin
1518
include("core_dispatch.jl")
1619
end

0 commit comments

Comments
 (0)