Skip to content

Commit 5694e7e

Browse files
authored
Use Aqua for quality checks (#47)
1 parent f122ac9 commit 5694e7e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1616
[compat]
1717
AbstractFFTs = "0.5, 1"
1818
ApproxFunBase = "0.3, 0.4, 0.5, 0.6"
19+
Aqua = "0.5"
1920
DomainSets = "0.3, 0.4, 0.5"
2021
FFTW = "1.1"
2122
FastTransforms = "0.10, 0.11, 0.12, 0.13, 0.14"
@@ -26,8 +27,9 @@ SpecialFunctions = "0.8, 0.9, 0.10, 1.0, 2.0"
2627
julia = "1.3"
2728

2829
[extras]
30+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2931
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
3032
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3133

3234
[targets]
33-
test = ["Test", "SpecialFunctions"]
35+
test = ["Aqua", "Test", "SpecialFunctions"]

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ using SpecialFunctions
88
_factorial(n) = gamma(n+1)
99
using Test
1010

11+
using Aqua
12+
@testset "Project quality" begin
13+
Aqua.test_all(ApproxFunFourier, ambiguities=false, undefined_exports=false)
14+
end
15+
1116
@testset "Periodic Domains" begin
1217
@test 0.1 PeriodicSegment(2π,0)
1318
@test 100.0 PeriodicSegment(0,2π)

0 commit comments

Comments
 (0)