From f4e221e4f0b3fe1293c50b700aaefeac75e25d10 Mon Sep 17 00:00:00 2001 From: reesporte <45641995+reesporte@users.noreply.github.com> Date: Wed, 18 May 2022 16:23:36 -0500 Subject: [PATCH] make race tests not run if it doesn't build (#2068) --- .gitlab/.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index de592ec36..fd1b0633a 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -99,7 +99,7 @@ run go tests race: rules: - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' retry: 1 - needs: [] # don't wait to start running this. + needs: ["smoke build"] # we do block on smoke build though bc it's pretty dumb to test stuff if it doesn't build script: - echo "Running featurebase race tests..." - go test -race -v -timeout=90m ./... @@ -793,4 +793,4 @@ s3 dump tag: - job: build for darwin amd64 - job: build for darwin arm64 - job: build for linux amd64 - - job: build for linux arm64 \ No newline at end of file + - job: build for linux arm64