Add coverage report
This commit is contained in:
1 parent
10eef7234f
commit
2c3f3349b5
1 file changed
+6
-4
@@ -40,20 +40,22 @@ jobs:
|
||||
name: Unit
|
||||
environment:
|
||||
JEST_JUNIT_OUTPUT_DIR: test-results/unit
|
||||
command: npm run test:unit -- --reporters="default" --reporters="jest-junit"
|
||||
command: npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov
|
||||
- store_artifacts:
|
||||
path: coverage
|
||||
|
||||
- run:
|
||||
name: Build
|
||||
command: npm run build
|
||||
- store_artifacts:
|
||||
path: build
|
||||
|
||||
- run:
|
||||
name: Integration
|
||||
environment:
|
||||
JEST_JUNIT_OUTPUT_DIR: test-results/integration
|
||||
command: npm run test:integration -- --reporters="default" --reporters="jest-junit"
|
||||
|
||||
- store_test_results:
|
||||
path: test-results
|
||||
- store_artifacts:
|
||||
path: build
|
||||
|
||||
- run: greenkeeper-lockfile-upload
|
||||
Reference in new issue
Block a user