Skip to content

Upgraded PHP version, migrated from phpspec to phpunit #3

Upgraded PHP version, migrated from phpspec to phpunit

Upgraded PHP version, migrated from phpspec to phpunit #3

---
name: Quality Assurance
on:
push:
paths:
- src/**/*.php
- composer.json
- .github/workflows/quality-assurance.yml
branches:
- master
- main
pull_request:
paths:
- src/**/*.php
- composer.json
- .github/workflows/quality-assurance.yml
branches:
- master
- main
jobs:
phpunit:
name: PHPUnit tests on ${{ matrix.php }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
php: [ '8.0', '8.1', '8.2', '8.3', '8.4' ]
experimental: [false]
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- run: composer update --no-progress
- run: composer test