Skip to content

Commit f0c13ce

Browse files
committed
Add codecov
1 parent a5b9d39 commit f0c13ce

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ jobs:
1717
run: composer install --prefer-dist --no-progress --no-suggest
1818

1919
- name: Run test suite
20-
run: composer run-script test
20+
run: composer run-script ci-test
21+
22+
- uses: codecov/codecov-action@v1

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"license": "MIT",
1818
"scripts": {
19-
"test": "vendor/bin/phpunit"
19+
"test": "vendor/bin/phpunit",
20+
"ci-test": "vendor/bin/phpunit --coverage-clover coverage.xml"
2021
},
2122
"require": {
2223
"illuminate/support": "^6.0",

0 commit comments

Comments
 (0)