Skip to content

Commit 0fd5394

Browse files
committed
Upload codecov
1 parent aa8e1ca commit 0fd5394

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/phptest.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ jobs:
3030

3131
- name: PHPUNIT Tests
3232
run: |
33-
./vendor/bin/phpunit
33+
./vendor/bin/phpunit --coverage-clover=coverage.xml
34+
3435
- name: PHPLint
3536
run: |
3637
./vendor/bin/phpcs --standard=phpcs.xml --extensions=php --ignore=tests/migrations config/ src/
3738
38-
39-
39+
- name: Upload to codecov
40+
uses: codecov/codecov-action@v3
41+
with:
42+
name: PHP ${{ matrix.php-versions }}
43+
files: coverage.xml

0 commit comments

Comments
 (0)