Skip to content

add latest php versions to github ci #33

add latest php versions to github ci

add latest php versions to github ci #33

Workflow file for this run

name: Main
on:
push:
pull_request:
jobs:
tests:
runs-on: "ubuntu-latest"
name: "PHP ${{ matrix.php-version }} Unit Tests"
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
- "8.4"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
tools: composer:v2
- name: "Install dependencies"
run: "composer install --no-interaction --ignore-platform-reqs"
- name: "PHPUnit"
run: "php vendor/bin/phpunit"