Skip to content

Merge pull request #28 from Chris53897/feature/fix-ci #20

Merge pull request #28 from Chris53897/feature/fix-ci

Merge pull request #28 from Chris53897/feature/fix-ci #20

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5]
dependency-version: [prefer-stable]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer update --no-interaction --prefer-source
- name: Execute tests
run: vendor/bin/phpunit