Skip to content

Commit

Permalink
Cove coverage upload was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Masiukevich Maksim committed Jan 3, 2021
1 parent 24fe502 commit 4ce27fb
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,35 +80,4 @@ jobs:
uses: jakejarvis/wait-action@master

- name: Run tests with phpunit
run: XDEBUG_MODE=coverage php ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-clover=coverage.clover

- name: Upload coverage file
uses: actions/upload-artifact@v2
with:
name: phpunit.coverage
path: coverage.clover

upload_coverage:
name: Upload coverage
runs-on: ubuntu-latest
needs: phpunit
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
tools: composer

- name: Download coverage files
uses: actions/download-artifact@v2
with:
path: reports

- name: Send code coverage report to Scrutinizer
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover ./reports/phpunit.coverage/coverage.clover
run: php ./vendor/bin/phpunit --configuration ./phpunit.xml

0 comments on commit 4ce27fb

Please sign in to comment.