Skip to content

Merge pull request #7 from koehnlein/feature/php84 #16

Merge pull request #7 from koehnlein/feature/php84

Merge pull request #7 from koehnlein/feature/php84 #16

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
dependencies:
- "highest"
- "lowest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
with:
fetch-depth: 2
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
coverage: pcov
ini-values: memory_limit=-1
tools: composer:v2
- name: "Install dependencies (highest)"
if: ${{ matrix.dependencies == 'highest' }}
run: "composer update --prefer-dist --no-interaction --no-progress"
- name: "Install dependencies (lowest)"
if: ${{ matrix.dependencies == 'lowest' }}
run: "composer update --prefer-lowest --prefer-dist --no-interaction --no-progress"
- name: "Run PHPUnit"
run: "vendor/bin/phpunit"