We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddb92dc commit e166c23Copy full SHA for e166c23
1 file changed
.github/workflows/continuous-integration.yml
@@ -19,7 +19,7 @@ concurrency:
19
cancel-in-progress: true
20
21
env:
22
- PHPUNIT_ARGS: "--coverage-xml=docs/coverage/"
+ PHPUNIT_ARGS: "--coverage-clover=coverage.xml"
23
24
jobs:
25
generate-ci-matrix:
@@ -39,3 +39,13 @@ jobs:
39
glpi-version: "${{ matrix.glpi-version }}"
40
php-version: "${{ matrix.php-version }}"
41
db-image: "${{ matrix.db-image }}"
42
+ coverage:
43
+ name: "Code coverage"
44
+ needs: "ci"
45
+ uses: codecov/codecov-action@v3
46
+ with:
47
+ token: ${{ secrets.CODECOV_TOKEN }}
48
+ file: ./coverage.xml
49
+ flags: unittests
50
+ name: codecov-umbrella
51
+ fail_ci_if_error: true
0 commit comments