Skip to content

Commit 0a6232f

Browse files
committed
Add using phpcov
1 parent bd7a019 commit 0a6232f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/blank.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
docker-compose run --rm tests composer install --no-interaction
2929
- name: Generating code coverage
3030
run: |
31-
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover ./clover.xml
31+
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-php ./coverage.cov
3232
- name: Coveralls Parallel
33-
run: php${{matrix.php}} vendor/bin/php-coveralls -v
34-
env:
35-
COVERALLS_RUN_LOCALLY: ${{secrets.COVERALLS_RUN_LOCALLY}}
36-
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
33+
uses: coverallsapp/github-action@master
34+
with:
35+
github-token: ${{ secrets.github_token }}
36+
path-to-lcov: ./coverage.cov

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"mockery/mockery": "^1.0",
3232
"satooshi/php-coveralls": "^2.0",
3333
"php-coveralls/php-coveralls": "^2.1",
34-
"doctrine/dbal": "^2.5"
34+
"doctrine/dbal": "^2.5",
35+
"phpunit/phpcov": "^6.0"
3536
},
3637
"autoload": {
3738
"psr-0": {

0 commit comments

Comments
 (0)