Make WordPress Core

Changeset 53554


Ignore:
Timestamp:
06/22/2022 12:18:42 AM (2 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/test-coverage.yml

    r53553 r53554  
    165165          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
    166166          flags: single,php
     167          fail_ci_if_error: true
    167168
    168169      - name: Run tests as a multisite install
     
    179180          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
    180181          flags: multisite,php
     182          fail_ci_if_error: true
    181183
    182184  slack-notifications:
Note: See TracChangeset for help on using the changeset viewer.