Skip to content

Commit 7b0973b

Browse files
authored
chore: don't search for coverage files (#346)
The `codecov/codecov-action` will accept a set of coverage files to upload, and in addition will search for coverage files to upload as well. From the logs you can see that it also finds coverage files in the `.nx` cache directory. Disable the search feature so that it only accepts the list of files we are already passing into it. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
1 parent 625dcac commit 7b0973b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class CodeCovWorkflow extends Component {
4949
name: 'Upload results to Codecov',
5050
uses: 'codecov/codecov-action@v5',
5151
with: {
52+
disable_search: true,
5253
files: props.packages.map(p => `packages/${p}/coverage/cobertura-coverage.xml`).join(','),
5354
fail_ci_if_error: true,
5455
flags: 'suite.unit',

0 commit comments

Comments
 (0)