mirror of
git://develop.git.wordpress.org/
synced 2025-03-11 23:49:54 +01:00
Build/Test Tools: Return an error when uploading a test coverage report fails.
`true` is now passed to the `fail_ci_if_error` input when the `codecov/codecov-action` action is used. When uploading a code coverage report is unsuccessful, the action will now fail and return an error. This will help avoid situations like #56022 where the report was suddenly failing to upload even though the workflow itself appeared to be successful. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@53554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e902e52e95
commit
b2f9e67757
2
.github/workflows/test-coverage.yml
vendored
2
.github/workflows/test-coverage.yml
vendored
@ -164,6 +164,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
file: wp-code-coverage-single-clover-${{ github.sha }}.xml
|
file: wp-code-coverage-single-clover-${{ github.sha }}.xml
|
||||||
flags: single,php
|
flags: single,php
|
||||||
|
fail_ci_if_error: true
|
||||||
|
|
||||||
- name: Run tests as a multisite install
|
- name: Run tests as a multisite install
|
||||||
if: ${{ matrix.multisite }}
|
if: ${{ matrix.multisite }}
|
||||||
@ -178,6 +179,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
|
file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
|
||||||
flags: multisite,php
|
flags: multisite,php
|
||||||
|
fail_ci_if_error: true
|
||||||
|
|
||||||
slack-notifications:
|
slack-notifications:
|
||||||
name: Slack Notifications
|
name: Slack Notifications
|
||||||
|
Loading…
x
Reference in New Issue
Block a user