summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-07-08 22:23:54 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-07-08 22:23:54 +0200
commit441f1783256bb97b7fce045ae1786acbf9152411 (patch)
tree86b1e0137804cd530e903e37f3a1911787e9e59c
parente14b6b523a33a10c48e74b6a85d3c22453169ec8 (diff)
downloadgitlab-ce-winh-jest-last.tar.gz
Restore Jest job config without .dedicated-no-docs-and-no-qa-pull-cache-job and cachewinh-jest-last
-rw-r--r--.gitlab/ci/frontend.gitlab-ci.yml22
1 files changed, 18 insertions, 4 deletions
diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml
index 864d040e759..16c32ce1c44 100644
--- a/.gitlab/ci/frontend.gitlab-ci.yml
+++ b/.gitlab/ci/frontend.gitlab-ci.yml
@@ -173,11 +173,25 @@ karma:
jest:
<<: *use-pg
- stage: prepare
- before_script: []
+ dependencies:
+ - compile-assets
+ - compile-assets pull-cache
+ - setup-test-env
script:
- - yarn install
- - yarn jest --ci --coverage spec/frontend/boards/stores/state_spec.js
+ - scripts/gitaly-test-spawn
+ - date
+ - bundle exec rake karma:fixtures
+ - date
+ - yarn jest --ci --coverage
+ artifacts:
+ name: coverage-frontend
+ expire_in: 31d
+ when: always
+ paths:
+ - coverage-frontend/
+ - junit_jest.xml
+# reports:
+# junit: junit_jest.xml
qa:internal:
extends: .dedicated-no-docs-no-db-pull-cache-job