Skip to content

Merge pull request #9 from matsuo/add-a-badge-for-github-actions #4

Merge pull request #9 from matsuo/add-a-badge-for-github-actions

Merge pull request #9 from matsuo/add-a-badge-for-github-actions #4

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