Skip to content

Tests

Tests #153

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- "*.x"
pull_request:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ["8.1", "8.2", "8.3"]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install Composer dependencies
uses: php-actions/composer@v6
- name: Execute tests
run: vendor/bin/phpunit