From 6535534ce01288696cf2d157d9cb7501b27d9315 Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Sat, 6 Jun 2020 11:00:41 -0400 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 106a520..4e05530 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,6 @@ variables: NUGET_PACKAGES_DIRECTORY: '.nuget' SOURCE_CODE_PATH: 'ChaosBot/*/' -only: - changes: - - ChaosBot/**/* - stages: - build - test @@ -32,9 +28,15 @@ cache: before_script: - 'dotnet restore --packages $NUGET_PACKAGES_DIRECTORY' + only: + changes: + - ChaosBot/**/* build: stage: build + only: + changes: + - ChaosBot/**/* tags: - docker - hawkeye @@ -43,6 +45,9 @@ build: tests: stage: test + only: + changes: + - ChaosBot/**/* tags: - docker - hawkeye