Skip to content

Commit c176dfa

Browse files
authored
tests with Aqua.jl (#80)
* add Aqua.jl tests * set version to 2.11.0
1 parent 44ec143 commit c176dfa

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RootedTrees"
22
uuid = "47965b36-3f3e-11e9-0dcf-4570dfd42a8c"
33
authors = ["Hendrik Ranocha <mail@ranocha.de> and contributors"]
4-
version = "2.10.4"
4+
version = "2.11.0"
55

66
[deps]
77
Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316"

test/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
[deps]
2+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
23
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
34
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
45
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
56
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
67

78
[compat]
9+
Aqua = "0.5"
810
Plots = "1"
911
StaticArrays = "1.3"
1012
UnicodePlots = "2"

test/runtests.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ using RootedTrees.Latexify: latexify
77
using Plots: Plots, plot
88
Plots.unicodeplots()
99

10+
using Aqua: Aqua
11+
1012
@testset "RootedTrees" begin
1113

1214
@testset "RootedTree" begin
@@ -1299,4 +1301,11 @@ end # @testset "Order conditions"
12991301
end # @testset "plots"
13001302

13011303

1304+
@testset "Aqua" begin
1305+
Aqua.test_all(RootedTrees;
1306+
ambiguities=(; exclude=[getindex]) # https://github.com/stevengj/LaTeXStrings.jl/issues/61
1307+
)
1308+
end # @testset "Aqua"
1309+
1310+
13021311
end # @testset "RootedTrees"

0 commit comments

Comments
 (0)