diff --git a/Project.toml b/Project.toml index 18ab359..d5190ec 100644 --- a/Project.toml +++ b/Project.toml @@ -19,6 +19,7 @@ DomainSets = "0.7, 0.8" ModelingToolkit = "11.26.7" PrecompileTools = "1.2.1" SciMLBase = "2.149.0, 3.1" +SciMLTesting = "1" SymbolicIndexingInterface = "0.3.43" SymbolicUtils = "4.31.0" Symbolics = "7.24.0" @@ -27,9 +28,9 @@ julia = "1.10" [extras] AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a" BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" -Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["AllocCheck", "BenchmarkTools", "Pkg", "SafeTestsets", "Test"] +test = ["AllocCheck", "BenchmarkTools", "SafeTestsets", "SciMLTesting", "Test"] diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 9b62674..f5d58dd 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -1,11 +1,19 @@ [deps] JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" PDEBase = "a7812802-0625-4b9e-961c-d332478797e5" +SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b" Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +[sources] +PDEBase = {path = "../.."} + [compat] JET = "0.9, 0.10, 0.11" +SafeTestsets = "0.0.1, 0.1, 1" +SciMLTesting = "1" SymbolicUtils = "4" Symbolics = "7" +Test = "1" diff --git a/test/runtests.jl b/test/runtests.jl index ee3cfc4..a18a7cc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,29 +1,2 @@ -using SafeTestsets, Test - -const GROUP = get(ENV, "GROUP", "All") - -const is_APPVEYOR = Sys.iswindows() && haskey(ENV, "APPVEYOR") - -const is_TRAVIS = haskey(ENV, "TRAVIS") - -const is_CI = haskey(ENV, "CI") - -if GROUP == "All" || GROUP == "Core" - # Currently verified by Downstream tests - @test true - - @safetestset "Allocation Tests" begin - include("alloc_tests.jl") - end -end - -if GROUP == "All" || GROUP == "QA" - using Pkg - Pkg.activate(joinpath(@__DIR__, "qa")) - Pkg.develop(path = dirname(@__DIR__)) - Pkg.instantiate() - - @safetestset "JET Static Analysis" begin - include("qa/jet_tests.jl") - end -end +using SciMLTesting +run_tests()