Skip to content

Commit 63d72c4

Browse files
authored
remove unneeded Compat dep and add Aqua tests (#282)
* no compat * add aqua tests
1 parent 96cbd70 commit 63d72c4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Project.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ uuid = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
33
version = "0.7.0"
44

55
[deps]
6-
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
76
DataAPI = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
87
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
98
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -16,6 +15,7 @@ StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
1615
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1716

1817
[compat]
18+
Aqua = "0.6"
1919
CategoricalArrays = "0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10"
2020
DataAPI = "1.1"
2121
DataFrames = "1"
@@ -28,11 +28,12 @@ WeakRefStrings = "1"
2828
julia = "1.6"
2929

3030
[extras]
31+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3132
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
3233
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
3334
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
3435
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3536
WeakRefStrings = "ea10d353-3f73-51f8-a26c-33c1cb351aa5"
3637

3738
[targets]
38-
test = ["CategoricalArrays", "DataFrames", "Statistics", "Test", "WeakRefStrings"]
39+
test = ["Aqua", "CategoricalArrays", "DataFrames", "Statistics", "Test", "WeakRefStrings"]

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Test
2+
using Aqua
23
using LinearAlgebra
34
using SparseArrays
45

@@ -23,6 +24,10 @@ my_tests = ["ambiguity.jl",
2324
"protect.jl"]
2425

2526
@testset "StatsModels" begin
27+
@testset "aqua" begin
28+
Aqua.test_all(StatsModels; ambiguities=false)
29+
end
30+
2631
for tf in my_tests
2732
include(tf)
2833
end

0 commit comments

Comments
 (0)