Skip to content

Commit

Permalink
Test using Aqua v0.8 (#121)
Browse files Browse the repository at this point in the history
* Test using Aqua v0.8

* Remove Pkg from tests
  • Loading branch information
jishnub committed Dec 2, 2023
1 parent b6e7590 commit 065ed7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 4 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,22 @@ ToeplitzMatricesStatsBaseExt = "StatsBase"

[compat]
AbstractFFTs = "0.4, 0.5, 1"
Aqua = "0.7"
Aqua = "0.8"
DSP = "0.7.7"
FFTW = "1"
FillArrays = "0.12, 0.13, 1"
LinearAlgebra = "<0.0.1, 1"
Random = "<0.0.1, 1"
StatsBase = "0.32, 0.33, 0.34"
Test = "<0.0.1, 1"
julia = "1.0"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "FFTW", "Pkg", "Random", "StatsBase", "Test"]
test = ["Aqua", "FFTW", "Random", "StatsBase", "Test"]
7 changes: 1 addition & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using Pkg

using ToeplitzMatrices, Test, LinearAlgebra, Aqua, FillArrays, Random
import StatsBase
using FillArrays
Expand All @@ -8,10 +6,7 @@ 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, piracy=false,
# only test formatting on VERSION >= v1.7
# https://github.com/JuliaTesting/Aqua.jl/issues/105#issuecomment-1551405866
project_toml_formatting = VERSION >= v"1.7")
Aqua.test_all(ToeplitzMatrices, ambiguities=false, piracies=(; broken=true))
end

ns = 101
Expand Down

0 comments on commit 065ed7e

Please sign in to comment.