Skip to content

Commit

Permalink
Merge pull request #20 from MacPaw/fix/codecov
Browse files Browse the repository at this point in the history
Update ci.yaml
  • Loading branch information
Yozhef authored Jun 17, 2024
2 parents 0ca1296 + 245094d commit 656600b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ jobs:
- name: PHPUnit tests and Log Code coverage
run: vendor/bin/phpunit --coverage-clover=coverage.xml
if: matrix.coverage == 'xdebug'

- name: Run codecov
uses: codecov/codecov-action@v1

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

0 comments on commit 656600b

Please sign in to comment.