Skip to content

Commit

Permalink
chore: Update coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanleven committed Apr 13, 2024
1 parent b9ab844 commit e7620b2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,21 @@ jobs:
node_modules
key: dependencies-${{ runner.os }}-${{ github.sha }}

- name: Test PHP source code
run: composer test
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
env:
XDEBUG_MODE: coverage
with:
configuration: phpunit.xml
php_extensions: xdebug
args: --coverage-clover ./coverage.xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: jordanleven/force-refresh
file: ./coverage.xml

building:
name: Building
Expand Down

0 comments on commit e7620b2

Please sign in to comment.