Skip to content

General maintenance. #77

General maintenance.

General maintenance. #77

Workflow file for this run

name: Unit Tests
on:
- push
- fork
- pull_request
jobs:
tests:
runs-on: ubuntu-latest
name: "Running unit tests for PHP ${{ matrix.php-version }}"
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2-rc']
steps:
- uses: actions/checkout@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
- run: composer install --ignore-platform-reqs
shell: bash
- run: composer test
shell: bash