Skip to content

Update phpunit/phpunit requirement from ^9.0 to ^11.3 #16

Update phpunit/phpunit requirement from ^9.0 to ^11.3

Update phpunit/phpunit requirement from ^9.0 to ^11.3 #16

Workflow file for this run

name: "Run Tests"
on:
push:
branches:
- master
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ 8.1, 8.0, 7.4 ]
dependency-version: [ prefer-lowest, prefer-stable ]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
coverage: none
- name: Install dependencies
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit