Skip to content

Commit

Permalink
Split up the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Dec 8, 2023
1 parent 6bd60fe commit d73c52b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
fail-fast: false
matrix:
group:
- All
- Core
- NLLS
- 23TestProblems
- Wrappers
- Miscellaneous
version:
- '1'
- '~1.10.0-0'
Expand Down
19 changes: 14 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ end

@time begin
if GROUP == "All" || GROUP == "Core"
@time @safetestset "Quality Assurance" include("qa.jl")
@time @safetestset "Basic Tests + Some AD" include("basictests.jl")
@time @safetestset "Sparsity Tests" include("sparse.jl")
@time @safetestset "Polyalgs" include("polyalgs.jl")
@time @safetestset "Matrix Resizing" include("matrix_resizing.jl")
@time @safetestset "Infeasible Problems" include("infeasible.jl")
end

if GROUP == "All" || GROUP == "NLLS"
@time @safetestset "Nonlinear Least Squares" include("nonlinear_least_squares.jl")
end

if GROUP == "All" || GROUP == "Wrappers"
@time @safetestset "MINPACK" include("minpack.jl")
@time @safetestset "NLsolve" include("nlsolve.jl")
end
Expand All @@ -28,6 +29,14 @@ end
@time @safetestset "23 Test Problems" include("23_test_problems.jl")
end

if GROUP == "All" || GROUP == "Miscellaneous"
@time @safetestset "Quality Assurance" include("qa.jl")
@time @safetestset "Sparsity Tests" include("sparse.jl")
@time @safetestset "Polyalgs" include("polyalgs.jl")
@time @safetestset "Matrix Resizing" include("matrix_resizing.jl")
@time @safetestset "Infeasible Problems" include("infeasible.jl")
end

if GROUP == "GPU"
activate_downstream_env()
@time @safetestset "GPU Tests" include("gpu.jl")
Expand Down

0 comments on commit d73c52b

Please sign in to comment.