From cff1dfd25877d8ae4a56940df6fe725ab516b9de Mon Sep 17 00:00:00 2001 From: Dhairya Gandhi Date: Mon, 1 Apr 2019 19:56:49 +0530 Subject: [PATCH] conditionally execute RNN tests --- .gitlab-ci.yml | 3 +++ test/cuda/cuda.jl | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f590fbd..a124b053 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +before_script: + - export CI_CURNN_TEST=true + variables: CI_IMAGE_TAG: 'cuda' diff --git a/test/cuda/cuda.jl b/test/cuda/cuda.jl index ee6c1861..0002755e 100644 --- a/test/cuda/cuda.jl +++ b/test/cuda/cuda.jl @@ -41,5 +41,7 @@ end if CuArrays.libcudnn != nothing @info "Testing Flux/CUDNN" include("cudnn.jl") - # include("curnn.jl") + if !haskey(ENV, "CI_CURNN_TEST") + include("curnn.jl") + end end