Skip to content

Commit

Permalink
reduce code coverage output (#285)
Browse files Browse the repository at this point in the history
instead of generating coverage for every PHP version, just use the latest
  • Loading branch information
brettmc committed Jul 19, 2024
1 parent 727236e commit 0f48d83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,11 @@ jobs:

- name: Code Coverage
uses: codecov/codecov-action@v4
# only generate coverage against the latest PHP version
if: ${{ matrix.php-version == '8.3' }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: src/${{ matrix.project }}
files: ./coverage.clover
flags: ${{ matrix.project }}:${{ matrix.php-version }}
flags: ${{ matrix.project }}
verbose: false

0 comments on commit 0f48d83

Please sign in to comment.