Skip to content

Commit 0f48d83

Browse files
authored
reduce code coverage output (#285)
instead of generating coverage for every PHP version, just use the latest
1 parent 727236e commit 0f48d83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,11 @@ jobs:
177177

178178
- name: Code Coverage
179179
uses: codecov/codecov-action@v4
180+
# only generate coverage against the latest PHP version
181+
if: ${{ matrix.php-version == '8.3' }}
180182
with:
181183
token: ${{ secrets.CODECOV_TOKEN }}
182184
directory: src/${{ matrix.project }}
183185
files: ./coverage.clover
184-
flags: ${{ matrix.project }}:${{ matrix.php-version }}
186+
flags: ${{ matrix.project }}
185187
verbose: false

0 commit comments

Comments
 (0)