Skip to content

Add PHP 8.1 compatibility; Add basic PHPCS (#3) #8

Add PHP 8.1 compatibility; Add basic PHPCS (#3)

Add PHP 8.1 compatibility; Add basic PHPCS (#3) #8

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [7.4]
stability: [prefer-lowest, prefer-stable]
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer install
- name: Execute tests
run: vendor/bin/phpunit