[1.x] fix unsupported events result in errors (#417) #780
Workflow file for this run
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 | |
on: [ push, pull_request ] | |
jobs: | |
ci: | |
name: "CI" | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest, windows-latest, macos-latest ] | |
php-version: [ 8.0, 8.3 ] | |
steps: | |
# --------- Setup steps --------- | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
- name: "Setup PHP" | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: "pcov" | |
php-version: "${{ matrix.php-version }}" | |
ini-values: memory_limit=-1 | |
extensions: pcov, xdebug, sodium, fileinfo | |
- name: "Install dependencies" | |
uses: ramsey/composer-install@v2 | |
# --------- Run steps --------- | |
- name: "Unit Tests" | |
run: "composer test" | |
- name: "Coding Style" | |
run: "composer cs-check" | |
if: matrix.operating-system == 'ubuntu-latest' | |
- name: "Static code analysis" | |
run: "composer psalm" | |
if: matrix.operating-system == 'ubuntu-latest' |