Skip to content

Commit

Permalink
Merge pull request #8 from MacPaw/develop
Browse files Browse the repository at this point in the history
Release 1.0.2
  • Loading branch information
Yozhef authored May 30, 2024
2 parents 55a9f2c + 5b0fdbe commit cc781cc
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
- '6.4.*'
- '7.0.*'
include:
- php: '8.3'
symfony-versions: '^6.4'
coverage: 'none'
- description: 'Log Code Coverage'
php: '8.3'
symfony-versions: '^7.0'
coverage: 'xdebug'

name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
steps:
Expand Down Expand Up @@ -67,3 +68,13 @@ jobs:
- name: Run PHPUnit tests
run: vendor/bin/phpunit
if: matrix.coverage == 'none'

- name: PHPUnit tests and Log Code coverage
run: vendor/bin/phpunit --coverage-clover=coverage.xml
if: matrix.coverage == 'xdebug'

- name: Upload coverage reports to Codecov
if: matrix.coverage == 'xdebug'
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit cc781cc

Please sign in to comment.