From 950b5f8ab9edea32d57b2f864f91e36c3291a7e6 Mon Sep 17 00:00:00 2001 From: quffaro Date: Fri, 15 Mar 2024 13:48:28 -0400 Subject: [PATCH] Added AQUA.jl to the template (#8) --- Project.toml | 2 +- test/Project.toml | 1 + test/aqua.jl | 3 +++ test/runtests.jl | 4 +++- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 test/aqua.jl diff --git a/Project.toml b/Project.toml index f44cb80..639d35b 100644 --- a/Project.toml +++ b/Project.toml @@ -8,5 +8,5 @@ version = "0.0.1" Catlab = "134e5e36-593f-5add-ad60-77f754baafbe" [compat] -Catlab = "^0.14" +Catlab = "^0.16" julia = "1.6" diff --git a/test/Project.toml b/test/Project.toml index 8f5725b..3f84432 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,3 +1,4 @@ [deps] AlgebraicTemplate = "b66562e1-fa90-4e8b-9505-c909188fab76" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/test/aqua.jl b/test/aqua.jl new file mode 100644 index 0000000..655c40f --- /dev/null +++ b/test/aqua.jl @@ -0,0 +1,3 @@ +using Aqua, AlgebraicTemplate + +Aqua.test_all(AlgebraicTemplate, ambiguities=false,) diff --git a/test/runtests.jl b/test/runtests.jl index d5acb48..16e23d8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,8 @@ using Test -using AlgebraicTemplate +@testset "Code Quality (Aqua.jl)" begin + include("aqua.jl") +end @testset "Core" begin include("core.jl")