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 0567156 commit 5046804
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8"
EzXML = "1.1"
MathML = "0.1.9"
Memoize = "0.4"
ModelingToolkit = "7, 8"
Random = "1"
Setfield = "0.8, 1"
SymbolicUtils = "0.16, 0.18, 0.19, 1"
OrdinaryDiffEq = "6"
Test = "1"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "ModelingToolkit", "OrdinaryDiffEq"]
test = ["Aqua", "Test", "ModelingToolkit", "OrdinaryDiffEq"]
4 changes: 2 additions & 2 deletions src/CellMLToolkit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ end
##############################################################################

export CellModel, ODEProblem
export read_cellml, parse_cellml
export read_cellml
export list_params, list_states
export readxml, getxml, getsys
export readxml, getsys
export update_list!

getsys(ml::CellModel) = ml.sys
Expand Down
12 changes: 12 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using CellMLToolkit, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(CellMLToolkit)
Aqua.test_ambiguities(CellMLToolkit, recursive = false)
Aqua.test_deps_compat(CellMLToolkit)
Aqua.test_piracies(CellMLToolkit,
treat_as_own = [])
Aqua.test_project_extras(CellMLToolkit)
Aqua.test_stale_deps(CellMLToolkit)
Aqua.test_unbound_args(CellMLToolkit)
Aqua.test_undefined_exports(CellMLToolkit)
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ using OrdinaryDiffEq
using ModelingToolkit

@testset "CellMLToolkit.jl" begin
@testset "Quality Assurance" begin include("qa.jl") end
@testset "beeler.jl" begin include("beeler.jl") end
@testset "noble_1962.jl" begin include("noble_1962.jl") end
end

0 comments on commit 5046804

Please sign in to comment.