Skip to content

Commit 6b7c1f3

Browse files
committed
Add codecov
1 parent 192b28f commit 6b7c1f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
run: composer install
1818

1919
- name: Run PHPUnit
20-
run: vendor/bin/phpunit --coverage-text
20+
run: vendor/bin/phpunit --coverage-clover=coverage.xml
21+
22+
- name: Upload coverage to Codecov
23+
uses: codecov/codecov-action@v1
2124

2225
phpcs:
2326
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)