Skip to content

Updated tests to pass with PHP 8.3, also updated minimum PHP version … #7

Updated tests to pass with PHP 8.3, also updated minimum PHP version …

Updated tests to pass with PHP 8.3, also updated minimum PHP version … #7

Workflow file for this run

name: PHP tests
on: [push]
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3', 'latest']
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
run: |
composer install --optimize-autoloader
chmod +x ./bin/
- name: Run tests
run: ./bin/tests
- name: Run static analysis
continue-on-error: true
run: ./bin/phpstan