Skip to content

Commit 51bbcd1

Browse files
committed
Add Aqua tests
1 parent ee92f87 commit 51bbcd1

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Unitful = "1.12"
1616
julia = "1.7"
1717

1818
[extras]
19+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
1920
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2021

2122
[targets]
22-
test = ["Test"]
23+
test = ["Aqua", "Test"]

test/aqua.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Aqua
2+
using RNAstructure
3+
4+
@testset "Aqua.test_all" begin
5+
showtestset()
6+
Aqua.test_all(RNAstructure)
7+
end

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ showtestset() = println(" "^(2 * Test.get_testset_depth()), "testing ",
1313

1414
@testset verbose=true "RNAstructure" begin
1515
showtestset()
16+
include("aqua.jl")
1617
include("ct-format.jl")
1718
include("plot.jl")
1819
include("RNAstructure.jl")

0 commit comments

Comments
 (0)