diff --git a/Project.toml b/Project.toml index 46e9cd7..28d2d69 100644 --- a/Project.toml +++ b/Project.toml @@ -8,8 +8,8 @@ AllocCheck = "0.2" Aqua = "0.8" JET = "0.9, 0.10, 0.11" LinearAlgebra = "1.10" -Pkg = "1.10" SafeTestsets = "0.1" +SciMLTesting = "1" Statistics = "1.10" Test = "1.10" julia = "1.10" @@ -19,10 +19,10 @@ AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a" Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["AllocCheck", "Aqua", "JET", "LinearAlgebra", "Pkg", "SafeTestsets", "Statistics", "Test"] +test = ["AllocCheck", "Aqua", "JET", "LinearAlgebra", "SafeTestsets", "SciMLTesting", "Statistics", "Test"] diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 7b8da5f..5137764 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -2,6 +2,8 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" SurrogatesBase = "89f642e6-4179-4274-8202-c11f4bd9a72c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" @@ -13,6 +15,8 @@ SurrogatesBase = {path = "../.."} Aqua = "0.8" JET = "0.9, 0.10, 0.11" LinearAlgebra = "1.10" +SafeTestsets = "0.1" +SciMLTesting = "1" Statistics = "1.10" Test = "1.10" julia = "1.10" diff --git a/test/qa.jl b/test/qa/qa.jl similarity index 100% rename from test/qa.jl rename to test/qa/qa.jl diff --git a/test/runtests.jl b/test/runtests.jl index 5e77d88..a18a7cc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,19 +1,2 @@ -using Pkg -using SafeTestsets -using Test - -const GROUP = get(ENV, "GROUP", "All") - -@testset "SurrogatesBase" begin - if GROUP == "QA" - Pkg.activate(joinpath(@__DIR__, "qa")) - Pkg.develop(path = joinpath(@__DIR__, "..")) - Pkg.instantiate() - @safetestset "Quality Assurance" include("qa.jl") - end - - if GROUP == "All" || GROUP == "Core" - @safetestset "Core" include("core_tests.jl") - @safetestset "Allocation Tests" include("alloc_tests.jl") - end -end +using SciMLTesting +run_tests()