Skip to content

Commit cc781cc

Browse files
authored
Merge pull request #8 from MacPaw/develop
Release 1.0.2
2 parents 55a9f2c + 5b0fdbe commit cc781cc

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

Diff for: .github/workflows/ci.yaml

+14-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
- '6.4.*'
1919
- '7.0.*'
2020
include:
21-
- php: '8.3'
22-
symfony-versions: '^6.4'
23-
coverage: 'none'
21+
- description: 'Log Code Coverage'
22+
php: '8.3'
23+
symfony-versions: '^7.0'
24+
coverage: 'xdebug'
2425

2526
name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
2627
steps:
@@ -67,3 +68,13 @@ jobs:
6768
- name: Run PHPUnit tests
6869
run: vendor/bin/phpunit
6970
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+
if: matrix.coverage == 'xdebug'
78+
uses: codecov/[email protected]
79+
with:
80+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)