Skip to content

Commit 52b0c1c

Browse files
authored
Use Codecov (#1077)
1 parent 5acb39b commit 52b0c1c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- os: ubuntu-latest
5454
description: 'with calculating code coverage and Infection'
5555
calculate-coverage: true
56-
phpunit-flags: '--coverage-clover=./build/logs/clover.xml'
56+
phpunit-flags: '--coverage-clover=./coverage-clover.xml'
5757
php-version: '8.4'
5858
FAST_LINT_TEST_CASES: 1
5959
- os: ubuntu-latest
@@ -133,9 +133,11 @@ jobs:
133133
FAST_LINT_TEST_CASES: ${{ matrix.FAST_LINT_TEST_CASES }}
134134

135135
- if: matrix.calculate-coverage
136-
env:
137-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
138-
run: ./vendor/bin/php-coveralls --verbose || true
136+
uses: codecov/codecov-action@v5
137+
with:
138+
disable_search: true
139+
files: ././coverage-clover.xml
140+
token: ${{ secrets.CODECOV_TOKEN }}
139141

140142
- if: matrix.calculate-coverage
141143
env:

0 commit comments

Comments
 (0)