From 3d4865c18fcb2f2006cba7abc5be1a119a743453 Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Tue, 29 Oct 2024 18:15:30 +0900 Subject: [PATCH] add(test): add Aqua test --- Project.toml | 11 +++++++++-- test/runtests.jl | 12 ++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 339feb8..6aaeea3 100644 --- a/Project.toml +++ b/Project.toml @@ -23,18 +23,25 @@ InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" PSBoardDataBaseInteractiveUtilsExt = "InteractiveUtils" [compat] +julia = "1.10" +Aqua = "0.8" AutoHashEquals = "2.2" CSV = "0.10" DBInterface = "2" DataFrames = "1" -Documenter = "1" +Dates = "1.10" +Documenter = "1.7" Downloads = "1" +InteractiveUtils = "1.10" +Printf = "1.10" SQLite = "1" StaticArrays = "1.9" Tables = "1" +Test = "1.10" [extras] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test"] +test = ["Aqua", "Test"] diff --git a/test/runtests.jl b/test/runtests.jl index a81ebc6..4764abb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -210,3 +210,15 @@ true || include("../src/PSBoardDataBase.jl") end end end + +using Aqua + +@testset "Aqua.jl" begin + Aqua.test_all( + PSBoardDataBase; + # ambiguities = (exclude = [], broken = true), + stale_deps = (ignore = Symbol[:Documenter],), + # deps_compat = (ignore = Symbol[],), + # piracies = false, + ) +end