Skip to content

Merge pull request #13 from matsuo/phpstan #14

Merge pull request #13 from matsuo/phpstan

Merge pull request #13 from matsuo/phpstan #14

Workflow file for this run

name: Test
on:
push:
branches:
- "*"
pull_request:
branches: [ master ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
steps:
- uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
shell: bash
run: |
composer install
- name: Run tests
shell: bash
run: |
./vendor/bin/phpunit --colors ./tests/AllTests.php