mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 03:17:50 +00:00
hopefully sets up jest test coverage in gitlab
This commit is contained in:
parent
ae69ad0d4e
commit
04642dad0f
1 changed files with 3 additions and 2 deletions
|
|
@ -66,14 +66,15 @@ generate coverage html:
|
|||
|
||||
run jest tests:
|
||||
stage: test
|
||||
image: sonarsource/sonar-scanner-cli:latest
|
||||
image: sonarsource/sonar-scanner-cli:4.6
|
||||
script:
|
||||
- cd lattice
|
||||
- npm install
|
||||
- npm test -- --coverage --testResultsProcessor=jest-sonar-reporter
|
||||
- sonar-scanner
|
||||
artifacts:
|
||||
paths:
|
||||
- coverage/lcov.info
|
||||
- lattice/coverage/lcov.info
|
||||
|
||||
upload to sonarcloud:
|
||||
stage: test
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue