Skip to content

Merge pull request #15 from mnastalski/tests #3

Merge pull request #15 from mnastalski/tests

Merge pull request #15 from mnastalski/tests #3

Workflow file for this run

name: tests
on:
pull_request:
push:
branches:
- master
- '*.x'
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0, 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 }}
tools: composer:v2
coverage: none
- name: Install composer dependencies
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer install --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit