Skip to content

Commit

Permalink
include code quality testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Feb 21, 2022
1 parent da8bb73 commit d2a223b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Project.toml
Expand Up @@ -12,12 +12,13 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
AbstractFFTs = "0.4, 0.5, 1"
DSP = "0.7"
StatsBase = "0.32, 0.33"
julia = "1.6"
julia = "1.0"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["FFTW", "Pkg", "Test"]
test = ["Aqua", "FFTW", "Pkg", "Test"]
4 changes: 3 additions & 1 deletion test/Project.toml
@@ -1,5 +1,6 @@
[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand All @@ -8,6 +9,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
AbstractFFTs = "0.4, 0.5, 1"
Aqua = "0.5"
FFTW = "1"
StatsBase = "0.32, 0.33"
julia = "1"
julia = "1.0"
8 changes: 7 additions & 1 deletion test/runtests.jl
Expand Up @@ -7,10 +7,16 @@ using Pkg
Pkg.instantiate()
end

using ToeplitzMatrices, StatsBase, Test, LinearAlgebra
using ToeplitzMatrices, StatsBase, Test, LinearAlgebra, Aqua

using FFTW: fft

@testset "code quality" begin
Aqua.test_ambiguities(ToeplitzMatrices, recursive=false)
# Aqua.test_all includes Base and Core in ambiguity testing
Aqua.test_all(ToeplitzMatrices, ambiguities=false)
end

ns = 101
nl = 2000

Expand Down

0 comments on commit d2a223b

Please sign in to comment.