Skip to content

Github Actions + autoload-dev #1

Github Actions + autoload-dev

Github Actions + autoload-dev #1

Workflow file for this run

name: PHPUnit tests
on:
pull_request:
branches: [ "main" ]
jobs:
test:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.3]
stability: [prefer-lowest, prefer-stable]
runs-on: ${{ matrix.os }}
name: PHP${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit