We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55a9f2c + 5b0fdbe commit cc781ccCopy full SHA for cc781cc
.github/workflows/ci.yaml
@@ -18,9 +18,10 @@ jobs:
18
- '6.4.*'
19
- '7.0.*'
20
include:
21
- - php: '8.3'
22
- symfony-versions: '^6.4'
23
- coverage: 'none'
+ - description: 'Log Code Coverage'
+ php: '8.3'
+ symfony-versions: '^7.0'
24
+ coverage: 'xdebug'
25
26
name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
27
steps:
@@ -67,3 +68,13 @@ jobs:
67
68
- name: Run PHPUnit tests
69
run: vendor/bin/phpunit
70
if: matrix.coverage == 'none'
71
+
72
+ - name: PHPUnit tests and Log Code coverage
73
+ run: vendor/bin/phpunit --coverage-clover=coverage.xml
74
+ if: matrix.coverage == 'xdebug'
75
76
+ - name: Upload coverage reports to Codecov
77
78
+ uses: codecov/[email protected]
79
+ with:
80
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments