Skip to content

Commit

Permalink
Merge pull request #236 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Separate test groups
  • Loading branch information
ChrisRackauckas authored Nov 5, 2024
2 parents e562cf6 + f133a44 commit fee69c8
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 43 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ jobs:
- "1"
- "lts"
- "pre"
group:
- "Core"
- "QA"
os:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
julia-version: "${{ matrix.version }}"
group: "${{ matrix.group }}"
os: "${{ matrix.os }}"
secrets: "inherit"
2 changes: 2 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

[compat]
ADTypes = "1.9.0"
DiffEqCallbacks = "4"
Documenter = "1"
NonlinearSolve = "3, 4"
OrdinaryDiffEq = "6.88"
Plots = "1.36"
92 changes: 49 additions & 43 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,51 +1,57 @@
using DiffEqCallbacks
using Test
const GROUP = get(ENV, "GROUP", "All")

# write your own tests here
@time begin
@time @testset "Quality Assurance" begin
include("qa.jl")
if GROUP == "QA"
@time @testset "Quality Assurance" begin
include("qa.jl")
end
end
@time @testset "AutoAbstol" begin
include("autoabstol_tests.jl")
end
@time @testset "TerminateSteadyState tests" begin
include("terminatesteadystate_test.jl")
end
@time @testset "StepsizeLimiter tests" begin
include("stepsizelimiter_tests.jl")
end
@time @testset "Function Calling tests" begin
include("funccall_tests.jl")
end
@time @testset "IndependentlyLinearized tests" begin
include("independentlylinearizedtests.jl")
end
@time @testset "PresetTime tests" begin
include("preset_time.jl")
end
@time @testset "Iterative tests" begin
include("iterative_tests.jl")
end
@time @testset "Periodic tests" begin
include("periodic_tests.jl")
end
@time @testset "Manifold tests" begin
include("manifold_tests.jl")
end
@time @testset "Domain tests" begin
include("domain_tests.jl")
end
@time @testset "ProbInts tests" begin
include("probints.jl")
end
@time @testset "Integrating tests" begin
include("integrating_tests.jl")
end
@time @testset "Integrating sum tests" begin
include("integrating_sum_tests.jl")
end
@time @testset "Saving tests" begin
include("saving_tests.jl")

if GROUP == "All" || GROUP == "Core"
@time @testset "AutoAbstol" begin
include("autoabstol_tests.jl")
end
@time @testset "TerminateSteadyState tests" begin
include("terminatesteadystate_test.jl")
end
@time @testset "StepsizeLimiter tests" begin
include("stepsizelimiter_tests.jl")
end
@time @testset "Function Calling tests" begin
include("funccall_tests.jl")
end
@time @testset "IndependentlyLinearized tests" begin
include("independentlylinearizedtests.jl")
end
@time @testset "PresetTime tests" begin
include("preset_time.jl")
end
@time @testset "Iterative tests" begin
include("iterative_tests.jl")
end
@time @testset "Periodic tests" begin
include("periodic_tests.jl")
end
@time @testset "Manifold tests" begin
include("manifold_tests.jl")
end
@time @testset "Domain tests" begin
include("domain_tests.jl")
end
@time @testset "ProbInts tests" begin
include("probints.jl")
end
@time @testset "Integrating tests" begin
include("integrating_tests.jl")
end
@time @testset "Integrating sum tests" begin
include("integrating_sum_tests.jl")
end
@time @testset "Saving tests" begin
include("saving_tests.jl")
end
end
end

0 comments on commit fee69c8

Please sign in to comment.