Skip to content

Add support for PHP >8.1 and PHPStan >1.10.* #22

Add support for PHP >8.1 and PHPStan >1.10.*

Add support for PHP >8.1 and PHPStan >1.10.* #22

Workflow file for this run

name: Code Coverage
on:
pull_request: null
push:
branches:
- master
jobs:
code_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: xdebug
- name: Load dependencies from cache
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php7.3-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php7.3-composer-
- run: composer install --prefer-dist --no-progress --no-suggest
- run: php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- run: php vendor/bin/php-coveralls --verbose
env:
COVERALLS_RUN_LOCALLY: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}