Skip to content

update readme

update readme #73

Workflow file for this run

name: PHP CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- php-version: '7.4'
coverage: 'false'
phpunit-version: '9'
- php-version: '8.0'
coverage: 'false'
phpunit-version: '10'
- php-version: '8.1'
coverage: 'false'
phpunit-version: '10'
- php-version: '8.2'
coverage: 'true'
phpunit-version: '10'
- php-version: '8.3'
coverage: 'false'
phpunit-version: '10'
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
ini-values: post_max_size=256M, max_execution_time=180
extensions: mbstring, intl, calendar
coverage: xdebug
tools: php-cs-fixer, phpunit:${{ matrix.phpunit-version }}
- name: Composer Install
run: composer install --no-interaction --dev
- name: Run Tests
run: ./vendor/bin/phpunit
- name: Codecov
if: ${{ matrix.coverage == 'true' }}
uses: codecov/codecov-action@v3
with:
files: ./build/logs/clover.xml