Bump dependencies #150
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: Tests | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: [ '8.2', '8.3', '8.4' ] | |
composer-options: [ '--ignore-platform-req=php+' ] | |
dependency-preference: ['current', 'lowest', 'stable'] | |
fail-fast: false | |
name: PHP ${{ matrix.php-versions }} ${{ matrix.dependency-preference }} deps @ ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: 'composer:v2' | |
extensions: pcov, mbstring, posix, dom, soap | |
ini-values: error_reporting=0 # PHP 8.4 gives deprecations on webmozart/assert which is not compatible yet. | |
- name: Install dependencies | |
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.dependency-preference == 'lowest' && '--prefer-lowest' || '' }} ${{ matrix.dependency-preference == 'stable' && '--prefer-stable' || '' }} ${{ matrix.composer-options }} | |
- name: Run the tests | |
run: ./vendor/bin/phpunit |