Skip to content

tests(github): updated github actions workflow for 8.x branch #3

tests(github): updated github actions workflow for 8.x branch

tests(github): updated github actions workflow for 8.x branch #3

Workflow file for this run

name: Tests
on:
push:
branches: [ 8.x ]
pull_request:
branches: [ 8.x ]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
php-versions: ['7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} - ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-interaction
- name: Run test suite
run: vendor/bin/phpunit --coverage-html coverage