Skip to content

Commit

Permalink
Fix: Use phpunit/phpunit as installed with phive
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed May 30, 2023
1 parent 36d8a21 commit 42653f9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,18 @@ jobs:
extensions: "${{ env.extensions }}"
ini-values: "display_errors=On, error_reporting=-1, memory_limit=2G"
php-version: "${{ matrix.php-versions }}"
tools: "phpunit:8.5"
tools: "phive"

- name: "Install dependencies with composer"
run: "composer install --no-interaction --optimize-autoloader --prefer-dist"

- name: "Install dependencies with phive"
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: "ant install-tools"

- name: "Run PHPUnit"
run: "phpunit --coverage-clover build/logs/clover.xml"
run: "tools/phpunit --coverage-clover build/logs/clover.xml"

- name: "Send code coverage report to codecov.io"
uses: "codecov/codecov-action@v2"
Expand Down

0 comments on commit 42653f9

Please sign in to comment.