Skip to content

Commit

Permalink
Remove code coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Dec 19, 2021
1 parent 6bb8c71 commit f461425
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,35 +130,3 @@ jobs:

- name: "Tests"
run: "${{ matrix.script }}"

tests-code-coverage:
name: "Tests with code coverage"

runs-on: "ubuntu-latest"
timeout-minutes: 30

steps:
- name: "Checkout"
uses: "actions/checkout@v2"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "pcov"
php-version: "8.0"
tools: pecl
extensions: ds

- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"

- name: "Tests"
run: |
php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude="~vendor~" vendor/bin/phpunit
- name: "Coveralls"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer require twinh/php-coveralls --dev && \
vendor/bin/php-coveralls --verbose --coverage_clover=tests/tmp/clover.xml --json_path=tests/tmp/coveralls-upload.json

0 comments on commit f461425

Please sign in to comment.