Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Drop PHP 7.x support #25

Drop PHP 7.x support

Drop PHP 7.x support #25

Workflow file for this run

name: PHP Unit
on: [push, pull_request]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.0', '8.1', '8.2', '8.3' ]
name: PHP ${{ matrix.php-versions }} - PHPUnit
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest --no-interaction
- name: Run test suite
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: unittests
fail_ci_if_error: false
verbose: true