Commit 3f410bb5 authored by Albert Salim's avatar Albert Salim

Use `yarn karma` instead of `bundle exec rake karma`

`karma:tests` task is a wrapper around yarn, which doesn't need
bundler. Using `yarn karma` instead of bundle exec rake
allows us to skip lengthy bundle install in the karma job.
parent 0d0cb5b4
......@@ -171,14 +171,13 @@ frontend-fixtures-as-if-foss:
script:
- export BABEL_ENV=coverage CHROME_LOG_FILE=chrome_debug.log
- date
- scripts/gitaly-test-spawn
- date
- bundle exec rake karma
- yarn karma
karma:
extends:
- .karma-base
- .frontend:rules:default-frontend-jobs
needs: ["frontend-fixtures"]
coverage: '/^Statements *: (\d+\.\d+%)/'
artifacts:
name: coverage-javascript
......@@ -196,6 +195,7 @@ karma-as-if-foss:
- .karma-base
- .frontend:rules:default-frontend-jobs-as-if-foss
- .as-if-foss
needs: ["frontend-fixtures-as-if-foss"]
.jest-base:
extends: .frontend-job-base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment