This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Custom error handler #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
concurrency: | |
group: "ci-${{ github.head_ref || github.run_id }}" | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
ci: | |
name: "Tests with phpunit v${{ matrix.phpunit }}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
phpunit: | |
- "10.5.3" | |
- "10.5.4" | |
- "10.5.8" | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "pcov" | |
php-version: "8.2" | |
ini-values: memory_limit=-1 | |
- name: "Install composer dependencies" | |
uses: "ramsey/composer-install@v2" | |
- name: "Set phpunit version" | |
run: "composer update phpunit/phpunit:${{ matrix.phpunit }}" | |
- name: "Run phpunit" | |
run: "./vendor/bin/phpunit tests/" |