Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/codecov.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions projenrc/codecov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export class CodeCovWorkflow extends Component {
name: 'Install dependencies',
run: 'yarn install',
},
{
name: 'Reset coverage thresholds',
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));" {} \\;',
},
{
name: 'Build and test CLI',
// The 'build' job includes running tests
Expand Down
Loading