Skip to content

Commit

Permalink
Move pcov install to after phpunit upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Jul 9, 2021
1 parent 5a2e6f9 commit 04872d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ jobs:
coverage: pcov
tools: composer:v2

- name: Setup PCOV
run: |
composer require pcov/clobber
vendor/bin/pcov clobber
- run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: "Use PHPUnit 9.3+ on PHP 8"
run: composer require --no-update --dev phpunit/phpunit:^9.3
if: "matrix.php == '8.0'"

- name: "Setup PCOV"
run: |
composer require pcov/clobber
vendor/bin/pcov clobber
- run: composer update --no-progress ${{ matrix.composer-flags }}

- run: vendor/bin/phpunit --no-coverage
Expand Down

0 comments on commit 04872d1

Please sign in to comment.