Skip to content

Commit

Permalink
Display coverage status in the build name
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 committed Feb 16, 2024
1 parent 8d97358 commit c91a111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defaults:
jobs:

tests:
name: Tests (PHP ${{ matrix.php }})
name: "PHP ${{ matrix.php }} (with coverage: ${{ matrix.with_coverage }})"
runs-on: ubuntu-20.04
strategy:
matrix:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Upload Coverage to CodeCov
if: "${{ matrix.with_coverage == true }}"
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4

- name: Upload Coverage to Scrutinizer CI (PHP < 8.0)
if: "${{ matrix.php < '8.0' && matrix.with_coverage == true }}"
Expand Down

0 comments on commit c91a111

Please sign in to comment.