Skip to content

Run CS fixer

Run CS fixer #31

Workflow file for this run

name: 'Run Tests'
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.can-fail }}
strategy:
fail-fast: true
matrix:
php: ['8.2', '8.3']
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: '8.2'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
name: "PHP ${{ matrix.php }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
extensions: curl, iconv, mbstring, session, sockets, sqlite, zip
coverage: none
- name: Install dependencies
run: composer update ${{ matrix.composer-flags }} --prefer-dist --no-suggest
- name: Execute tests
run: vendor/bin/phpunit