Skip to content

Commit

Permalink
Aqua ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Dec 13, 2023
1 parent 2b10f73 commit f314e6a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,28 @@ version = "0.1.25"

[deps]
Catalyst = "479239e8-5488-4da2-87a7-35f2df7eef83"
MathML = "abcecc63-2b08-419c-80c4-c63dca6fa478"
SBML = "e5567a89-2604-4b09-9718-f5f78e97c3bb"
SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b"

[compat]
Aqua = "0.8"
CSV = "0.10"
Catalyst = "13"
MathML = "0.1"
DataFrames = "1"
ModelingToolkit = "8"
OrdinaryDiffEq = "6"
Plots = "1"
SBML = "1.4.4"
SBMLToolkitTestSuite = "0.0.1"
SafeTestsets = "0.1"
Sundials = "4"
SymbolicUtils = "1"
Downloads = "1"
Test = "1"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
Expand All @@ -29,4 +39,4 @@ Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["CSV", "DataFrames", "Downloads", "ModelingToolkit", "OrdinaryDiffEq", "Plots", "SafeTestsets", "SBMLToolkitTestSuite", "Sundials", "Test"]
test = ["Aqua", "CSV", "DataFrames", "Downloads", "ModelingToolkit", "OrdinaryDiffEq", "Plots", "SafeTestsets", "SBMLToolkitTestSuite", "Sundials", "Test"]
12 changes: 12 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using SBMLToolkit, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(SBMLToolkit)
Aqua.test_ambiguities(SBMLToolkit, recursive = false)
Aqua.test_deps_compat(SBMLToolkit)
Aqua.test_piracies(SBMLToolkit,
treat_as_own = [SBMLToolkit.SBML.Model])
Aqua.test_project_extras(SBMLToolkit)
Aqua.test_stale_deps(SBMLToolkit)
Aqua.test_unbound_args(SBMLToolkit)
Aqua.test_undefined_exports(SBMLToolkit)
end
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
using SafeTestsets, Test

@safetestset "SBMLToolkit.jl" begin
@safetestset "Quality Assurance" begin
include("qa.jl")
end
@safetestset "Systems" begin
include("systems.jl")
end
Expand Down

0 comments on commit f314e6a

Please sign in to comment.