Skip to content

Commit 24d4645

Browse files
committed
Changing how coverage is initialized
1 parent 3a2ba14 commit 24d4645

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
env:
2+
COVERAGE: true
23
SEGMENT_CONTEXTS: 'snyk,npm,aws-credentials,ecr,npm-publish'
34
SEGMENT_BUILDKITE_IMAGE: 'analytics-next-ci-agent'
45
steps:

packages/config/src/jest/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const createJestTSConfig = (
2222
* No need to manually run yarn build all the time.
2323
* This resolve packages for ts-jest so typescript compilation happens in-memory.
2424
*/
25-
...(process.env.CI === 'true'
25+
...(process.env.COVERAGE === 'true'
2626
? {
2727
collectCoverage: true,
2828
coverageReporters: ['json'],

0 commit comments

Comments
 (0)