Skip to content

Commit

Permalink
Run Psalm & coverage on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel authored Jun 25, 2022
1 parent 6011ef5 commit 86cb29c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.0"
php-version: "8.1"

- name: Install composer dependencies
uses: "ramsey/composer-install@v1"
Expand Down Expand Up @@ -57,16 +57,16 @@ jobs:

- name: Run PHPUnit
run: vendor/bin/phpunit --fail-on-skipped
if: ${{ matrix.php-version != '8.0' }}
if: ${{ matrix.php-version != '8.1' }}

- name: Run PHPUnit with coverage
run: |
mkdir -p build/logs
vendor/bin/phpunit --fail-on-skipped --coverage-clover build/logs/clover.xml
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.1' }}

- name: Upload coverage report to Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.1' }}

0 comments on commit 86cb29c

Please sign in to comment.