Skip to content

Commit

Permalink
Fix coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Nov 5, 2020
1 parent 7db7d57 commit 51b1202
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
coverage: xdebuge
- run: composer global require php-coveralls/php-coveralls
- name: Build
run: composer update --no-interaction --no-progress --prefer-dist --prefer-stable
- name: Calculate coverage
run: vendor/bin/tester -c tests/php.ini -p phpdbg tests --coverage coverage.xml --coverage-src src
run: vendor/bin/tester -c tests/php-coverage.ini tests --coverage coverage.xml --coverage-src src
- name: Upload Coverage Report
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions tests/php-coverage.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[php]
extension=json.so
extension=tokenizer.so

upload_max_filesize = 1M

zend_extension=xdebug.so

0 comments on commit 51b1202

Please sign in to comment.