Make WordPress Core

Changeset 58144

Timestamp:
05/14/2024 03:18:37 PM (2 months ago)
Author:
desrosj
Message:

Build/Test Tools: Don’t upload HTML reports to Codecov.

When generating a human readable code coverage report in HTML format, the Codecov action used to fail silently. An error is now being returned, resulting in a workflow failure.

This adds a skip condition to the appropriate steps so the coverage report is only uploaded when a clover format is generated.

See #60733.

File:
1 edited

Legend:

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

    r57918 r58144  
    151151
    152152      - name: Upload single site report to Codecov
    153         if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
     153        if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
    154154        uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
    155155        with:
     
    175175
    176176      - name: Upload multisite report to Codecov
    177         if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
     177        if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
    178178        uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
    179179        with:
Note: See TracChangeset for help on using the changeset viewer.