Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
use pcov for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 19, 2020
1 parent 9373cb3 commit b36da2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .coveralls.yml

This file was deleted.

8 changes: 2 additions & 6 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ jobs:
- uses: shivammathur/setup-php@v1
with:
php-version: 7.2
coverage: none
coverage: pcov

- run: composer install --no-progress
- run : |
# code coverage run + upload to coveralls.io
phpdbg -qrr -d memory_limit=-1 vendor/bin/phpunit --coverage-clover coverage.xml
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
# coveralls.io
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar
php php-coveralls.phar --verbose
Expand All @@ -84,7 +83,6 @@ jobs:

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
with:
php-version: 7.3
Expand All @@ -98,7 +96,6 @@ jobs:

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
with:
php-version: 7.3
Expand Down Expand Up @@ -136,7 +133,6 @@ jobs:

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
with:
php-version: 7.3
Expand Down

0 comments on commit b36da2d

Please sign in to comment.