Skip to content

Commit 10ff448

Browse files
committed
early check for cuda in buildkite
1 parent f5cfe10 commit 10ff448

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ using ExplicitImports
1313

1414
(isinteractive() ? includet : include)(joinpath(pkgdir(NetworkDynamics, "test", "testutils.jl")))
1515

16+
haskey(ENV, "BUILDKITE") && @test CUDA.functional() # fail early in buildkite if cuda is not available
17+
1618
@testset "NetworkDynamics Tests" begin
1719
@testset "Package Quality Tests" begin
1820
# print_explicit_imports(NetworkDynamics)

0 commit comments

Comments
 (0)