Skip to content

Commit 4fae6eb

Browse files
Update
1 parent 5639465 commit 4fae6eb

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Project.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,23 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2222
ForwardDiffStaticArraysExt = "StaticArrays"
2323

2424
[compat]
25+
Aqua = "0.8"
2526
Calculus = "0.5"
2627
CommonSubexpressions = "0.3"
2728
DiffResults = "1.1"
2829
DiffRules = "1.4"
2930
DiffTests = "0.1"
31+
InteractiveUtils = "1"
32+
LinearAlgebra = "1"
3033
LogExpFunctions = "0.3"
3134
NaNMath = "1"
3235
Preferences = "1"
36+
Printf = "1"
37+
Random = "1"
38+
SparseArrays = "1"
3339
SpecialFunctions = "1, 2"
3440
StaticArrays = "1.5"
41+
Test = "1"
3542
julia = "1.6"
3643

3744
[extras]

test/AquaTest.jl

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ using Test
22
using ForwardDiff
33
using Aqua
44

5-
@testset "Aqua tests (performance)" begin
5+
@testset "Aqua tests - unbound_args" begin
66
# This tests that we don't accidentally run into
77
# https://github.com/JuliaLang/julia/issues/29393
88
ua = Aqua.detect_unbound_args_recursively(ForwardDiff)
99
@test length(ua) == 6
10+
end
1011

12+
@testset "Aqua tests - ambiguities" begin
1113
# See: https://github.com/SciML/OrdinaryDiffEq.jl/issues/1750
1214
# Test that we're not introducing method ambiguities across deps
1315
ambs = Aqua.detect_ambiguities(ForwardDiff; recursive = true)
@@ -18,13 +20,8 @@ using Aqua
1820
@test length(ambs) == 0
1921
end
2022

21-
@testset "Aqua tests (additional)" begin
22-
Aqua.test_undefined_exports(ForwardDiff)
23-
Aqua.test_stale_deps(ForwardDiff)
24-
Aqua.test_deps_compat(ForwardDiff)
25-
Aqua.test_project_extras(ForwardDiff)
26-
Aqua.test_project_toml_formatting(ForwardDiff)
27-
Aqua.test_piracy(ForwardDiff)
23+
@testset "Aqua tests - remaining" begin
24+
Aqua.test_all(ForwardDiff; ambiguities = false, unbound_args = false)
2825
end
2926

3027
nothing

0 commit comments

Comments
 (0)