Skip to content

Commit

Permalink
Merge pull request #22 from localheinz/fix/phive
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Feb 21, 2022
2 parents 8895d99 + 42e7ba7 commit 36d8a21
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,20 @@ jobs:

- name: "Set up PHP"
uses: "shivammathur/setup-php@2.17.0"
env:
COMPOSER_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
coverage: "pcov"
extensions: "${{ env.extensions }}"
ini-values: "display_errors=On, error_reporting=-1, memory_limit=2G"
php-version: "${{ matrix.php-versions }}"
tools: "phive"
tools: "phpunit:8.5"

- 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: "ant phpunit-ci"
run: "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 36d8a21

Please sign in to comment.