Skip to content

Commit 2767e8f

Browse files
committed
add Aqua.jl for general QA testing
1 parent 5ef136c commit 2767e8f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
2424
YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
2525

2626
[compat]
27+
Aqua = "0.6"
2728
CodecZlib = "0.6, 0.7"
2829
DashBase = "0.1"
2930
DashCoreComponents = "2.0.0"
@@ -40,7 +41,8 @@ YAML = "0.4.7"
4041
julia = "1.6"
4142

4243
[extras]
44+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4345
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4446

4547
[targets]
46-
test = ["Test"]
48+
test = ["Aqua", "Test"]

test/aqua.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using Aqua
2+
3+
# ideally we get both these tests to work, but:
4+
# stale_deps is ignored to help transition from DashCoreComponents
5+
# amiguities is ignored because they originate outside the package
6+
Aqua.test_all(Dash; ambiguities=false, stale_deps=false)

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ include("callbacks.jl")
1212
include("components_utils.jl")
1313
include("table_format.jl")
1414
include("reload_hash.jl")
15+
include("aqua.jl")
1516
#include("dev.jl")

0 commit comments

Comments
 (0)