Skip to content

Updates composer dependencies (#59) #86

Updates composer dependencies (#59)

Updates composer dependencies (#59) #86

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.4', '8.0', '8.1' ]
name: Tests with PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug2
- name: Install dependencies
run: composer install
- name: Run tests
run: composer test && composer check-style
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: ${{ matrix.php }}
run: vendor/bin/php-coveralls -v