Skip to content

Commit

Permalink
Build/Test Tools: Correct input name for Code Coverage reports.
Browse files Browse the repository at this point in the history
The input for providing files to the `codecov/codecov-action` was changed from `file` to `files` in version `5.0.0`.

See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@59717 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jan 28, 2025
1 parent dd597b0 commit 05e923c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-phpunit-tests-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}.xml
files: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}.xml
flags: ${{ inputs.multisite && 'multisite' || 'single' }},php
fail_ci_if_error: true

Expand Down

0 comments on commit 05e923c

Please sign in to comment.