Skip to content

Update GitHub Actions Tests workflow #128

Update GitHub Actions Tests workflow

Update GitHub Actions Tests workflow #128

Workflow file for this run

name: Run Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
build:
name: "PHP ${{ matrix.php-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
tools: composer
- name: Install dependencies
run: composer install --ansi --no-interaction --no-progress
- name: Run Tests
run: vendor/bin/phpunit