diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2019-03-05 07:12:13 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-03-05 07:12:13 +0000 |
commit | 211ae9d093de08c1cf97768121a18add814e2879 (patch) | |
tree | dc485066f62b81887ea63553be4b7e86bbeb0114 /.gitlab-ci.yml | |
parent | fdcfae2a92ac105d458e6f9617c1f22229ef34b6 (diff) | |
download | gitlab-ce-211ae9d093de08c1cf97768121a18add814e2879.tar.gz |
Add gitlab ui visual test
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2329c9c6edc..fa47aea310d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -672,6 +672,24 @@ gitlab:assets:compile: - docker - gitlab-org +gitlab:ui:visual: + tags: + - gitlab-org + before_script: [] + dependencies: + - compile-assets + script: + # Remove node modules from GitLab that may conflict with gitlab-ui + - rm -r node_modules + - git clone https://gitlab.com/gitlab-org/gitlab-ui.git + - cp public/assets/application-*.css gitlab-ui/styles/application.css + - cd gitlab-ui + - yarn install + - CSS_URL=./application.css yarn test + artifacts: + paths: + - tests/__image_snapshots__/ + karma: <<: *dedicated-no-docs-pull-cache-job <<: *use-pg |