Skip to content

update/upgrade CI jobs #8

update/upgrade CI jobs

update/upgrade CI jobs #8

Workflow file for this run

name: Unit Tests
on: [ push, pull_request, workflow_dispatch ]
jobs:
unit-tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0", "8.1", "8.2", "8.3"]
name: Unit Tests Under PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Install dependencies
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
- name: Run Unit Tests
run: ./vendor/bin/phpunit