Commit 1c545381 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

add aqua testing

parent 0560bd18
......@@ -35,6 +35,7 @@ Tulip = "0.7"
julia = "1"
[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
......@@ -44,4 +45,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Tulip = "6dd1b50a-3aae-11e9-10b5-ef983d2400fa"
[targets]
test = ["Downloads", "OSQP", "SHA", "Test", "Tulip"]
test = ["Aqua", "Downloads", "OSQP", "SHA", "Test", "Tulip"]
@testset "Automated QUality Assurance" begin
# We can't do Aqua.test_all here (yet) because the ambiguity tests fail in
# deps. Instead let's pick the other sensible tests.
Aqua.test_deps_compat(COBREXA)
Aqua.test_project_extras(COBREXA)
Aqua.test_project_toml_formatting(COBREXA)
#Aqua.test_stale_deps(COBREXA) # currently seems broken
Aqua.test_unbound_args(COBREXA)
Aqua.test_undefined_exports(COBREXA)
end
using COBREXA, Test
using Aqua
using Distributed
using Downloads
using JSON
......@@ -65,6 +66,7 @@ run_test_file("data_downloaded.jl")
run_test_dir("reconstruction")
run_test_dir("analysis")
run_test_dir(joinpath("analysis", "sampling"), "Sampling")
run_test_file("aqua.jl")
end
rmprocs(W)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment