Skip to content

Commit 48e89ac

Browse files
authored
Merge branch 'main' into mrgrain/fix/workflows/integ-tests
2 parents d4b2ac0 + 52457cf commit 48e89ac

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projenrc/codecov.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export class CodeCovWorkflow extends Component {
4040
name: 'Install dependencies',
4141
run: 'yarn install',
4242
},
43+
{
44+
name: 'Reset coverage thresholds',
45+
run: 'find . -name "jest.config.json" -type f -exec chmod +w {} \\; -exec node -e "const fs=require(\'fs\'); const file=process.argv[1]; const data=JSON.parse(fs.readFileSync(file)); data.coverageThreshold={ }; fs.writeFileSync(file, JSON.stringify(data, null, 2));" {} \\;',
46+
},
4347
{
4448
name: 'Build and test CLI',
4549
// The 'build' job includes running tests

0 commit comments

Comments
 (0)