Skip to content

Implement composer stability tests #186

Implement composer stability tests

Implement composer stability tests #186

Workflow file for this run

name: Unit Tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.3, 8.2]
stability: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: tokenizer
coverage: xdebug
- name: Install dependencies
run: composer update --no-interaction --prefer-dist --${{ matrix.stability }} --optimize-autoloader
- name: Execute tests
run: composer test