Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Jan 6, 2023
1 parent a4b7fd0 commit edf02cf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
- "8.2"
- "8.1"
- "8.0"
composer:
- "v2"

steps:
- name: "Checkout"
Expand All @@ -28,7 +26,6 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
tools: "composer:${{ matrix.composer }}"
ini-values: zend.assertions=1,assert.exception=1
- name: "Install dependencies"
run: "composer update --no-interaction"
Expand All @@ -46,11 +43,11 @@ jobs:
with:
php-version: "8.0"
tools: "composer:v2"
coverage: "pcov"
ini-values: zend.assertions=1,assert.exception=1
- name: "Install dependencies"
run: "composer update --no-interaction"
- name: "Install coveralls"
run: "composer require --dev php-coveralls/php-coveralls"
run: "composer require --dev php-coveralls/php-coveralls:^2.0 --with-all-dependencies"
- name: "Generate coverage"
run: "vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml --configuration ./phpunit.xml.dist"
- name: "Publish coverage"
Expand Down

0 comments on commit edf02cf

Please sign in to comment.