Skip to content

ci: migrate to github workflow #2

ci: migrate to github workflow

ci: migrate to github workflow #2

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
dependencies-versions: [ lowest, highest ]
name: PHPUnit test suite
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies-versions }}
- name: Run tests
run: vendor/bin/phpunit --coverage-text