Skip to content

Commit b9bbc00

Browse files
gpu CI
1 parent 200f31d commit b9bbc00

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

test/runtests.jl

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
using SafeTestsets
22

3-
@time @safetestset "Exact coloring via contraction" begin include("test_contraction.jl") end
4-
@time @safetestset "Greedy distance-1 coloring" begin include("test_greedy_d1.jl") end
5-
@time @safetestset "Greedy star coloring" begin include("test_greedy_star.jl") end
6-
@time @safetestset "Matrix to graph conversion" begin include("test_matrix2graph.jl") end
7-
@time @safetestset "AD using color vector" begin include("test_ad.jl") end
8-
@time @safetestset "Integration test" begin include("test_integration.jl") end
9-
@time @safetestset "Special matrices" begin include("test_specialmatrices.jl") end
10-
@time @safetestset "Jac Vecs and Hes Vecs" begin include("test_jaches_products.jl") end
3+
const GROUP = get(ENV, "GROUP", "All")
4+
const is_APPVEYOR = ( Sys.iswindows() && haskey(ENV,"APPVEYOR") )
5+
const is_TRAVIS = haskey(ENV,"TRAVIS")
6+
7+
if GROUP == "All"
8+
@time @safetestset "Exact coloring via contraction" begin include("test_contraction.jl") end
9+
@time @safetestset "Greedy distance-1 coloring" begin include("test_greedy_d1.jl") end
10+
@time @safetestset "Greedy star coloring" begin include("test_greedy_star.jl") end
11+
@time @safetestset "Matrix to graph conversion" begin include("test_matrix2graph.jl") end
12+
@time @safetestset "AD using color vector" begin include("test_ad.jl") end
13+
@time @safetestset "Integration test" begin include("test_integration.jl") end
14+
@time @safetestset "Special matrices" begin include("test_specialmatrices.jl") end
15+
@time @safetestset "Jac Vecs and Hes Vecs" begin include("test_jaches_products.jl") end
16+
end
17+
18+
if GROUP == "GPU"
19+
@time @safetestset "GPU AD" begin include("test_gpu_ad.jl") end
20+
end

0 commit comments

Comments
 (0)