Skip to content

Run workflows for all branches by default #146

Run workflows for all branches by default

Run workflows for all branches by default #146

Workflow file for this run

name: Run Tests
on: [push, pull_request]
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