Skip to content

Commit

Permalink
Better delimit the coverage files to upload
Browse files Browse the repository at this point in the history
The previous setting was not working and then the action
was defaulting to "auto-search" mode, causing the whole
workspace (moodle, plugins,...) to be inspected and leading
to the upload of some false-positives like coverage.php files.

Now, only files under the coverage dir will be considered.
  • Loading branch information
stronk7 committed Jun 8, 2024
1 parent 3c3bd16 commit 2d4e74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/bats/cobertura.xml
directory: ${{ github.workspace }}/coverage
verbose: true

0 comments on commit 2d4e74f

Please sign in to comment.