Skip to content

Commit

Permalink
Fix code coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Jan 23, 2021
1 parent 64ddb3b commit 1d26988
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,10 @@ jobs:
${{ runner.os }}-composer-
- name: "Install dependencies with composer"
run: php $(which composer) install --no-interaction --no-progress --no-suggest --no-plugins

- name: "Dump Xdebug filter with phpunit/phpunit"
run: php vendor/bin/phpunit --dump-xdebug-filter=.build/phpunit/xdebug-filter.php
run: composer install --no-interaction --no-progress --no-plugins

- name: "Collect code coverage with Xdebug and phpunit/phpunit"
run: php vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --prepend=.build/phpunit/xdebug-filter.php
run: vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

- name: "Download code coverage uploader for Codecov.io"
run: curl -s https://codecov.io/bash -o codecov
Expand Down

0 comments on commit 1d26988

Please sign in to comment.