summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2019-03-05 08:35:54 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-03-05 08:35:54 +0000
commit91805098ee05df1209b06ee752490ec7aa0c34b8 (patch)
treec3a305ddc93807ba4a6b68ec1fed82060c474ecc /.gitlab-ci.yml
parent154720cadc05d79fd5a89bfec18b9385964447ec (diff)
downloadgitlab-ce-91805098ee05df1209b06ee752490ec7aa0c34b8.tar.gz
Scope gitlab:ui:visual pipeline job to css only changes
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa47aea310d..853c10c5df6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -686,6 +686,11 @@ gitlab:ui:visual:
- cd gitlab-ui
- yarn install
- CSS_URL=./application.css yarn test
+ only:
+ changes:
+ - app/assets/stylesheets/*.scss
+ - app/assets/stylesheets/**/*.scss
+ - app/assets/stylesheets/**/**/*.scss
artifacts:
paths:
- tests/__image_snapshots__/