Skip to content

Commit 598a88e

Browse files
committed
Fix test invocation.
1 parent 6c1bdff commit 598a88e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/runtests.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
using GPUArrays, Test
2-
using GPUArrays.TestSuite
3-
4-
using Pkg
5-
6-
@testset "JLArray" begin
7-
GPUArrays.test(JLArray)
8-
end
9-
1+
# GPUArrays development often happens in lockstep with other packages, so try to match branches
102
if haskey(ENV, "GITLAB_CI")
113
using Pkg
124

@@ -25,7 +17,15 @@ if haskey(ENV, "GITLAB_CI")
2517
for package in ("Adapt", "CuArrays")
2618
match_package(package, branch)
2719
end
20+
end
2821

22+
using GPUArrays, Test
23+
24+
@testset "JLArray" begin
25+
GPUArrays.test(JLArray)
26+
end
27+
28+
if haskey(ENV, "GITLAB_CI")
2929
@testset "CuArray" begin
3030
Pkg.test("CuArrays")
3131
end

0 commit comments

Comments
 (0)