Skip to content

Commit 965ac50

Browse files
committed
Add Aqua tests
1 parent b29c16d commit 965ac50

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

Project.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ version = "0.1.0"
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
88

99
[compat]
10+
Aqua = "0.8"
1011
Dates = "1.10"
12+
SafeTestsets = "0.1"
1113
julia = "1.10"
14+
1215
[extras]
16+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
17+
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
1318
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1419

1520
[targets]
16-
test = ["Test"]
21+
test = ["Aqua", "Test", "SafeTestsets"]

test/runtests.jl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
using AlgorithmsInterface, Test
1+
using SafeTestsets
22

3-
let
4-
@testset "Newton" begin
5-
include("newton.jl")
6-
end
3+
@safetestset "Newton" begin
4+
include("newton.jl")
5+
end
6+
7+
@safetestset "Aqua" begin
8+
using AlgorithmsInterface, Aqua
9+
Aqua.test_all(AlgorithmsInterface)
710
end

0 commit comments

Comments
 (0)