Skip to content

Introduce modularized feature #19

Introduce modularized feature

Introduce modularized feature #19

Workflow file for this run

name: Unit Test
on:
workflow_dispatch:
pull_request:
push:
branches: [ master ]
jobs:
tests:
name: Test on PHP ${{ matrix.php_versions }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.php_versions == '8.1' }}
if: "!contains(github.event.head_commit.message, '--skip ci') && !github.event.pull_request.draft"
strategy:
matrix:
php_versions: ['7.4', '8.0', '8.1']
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_versions }}
coverage: xdebug2
- uses: ramsey/composer-install@v2
- name: Run test suite
run: vendor/bin/codecept run unit --coverage-text
# - name: Run infection suite
# run: vendor/bin/infection --threads=4
# - name: Run PHPBench suite
# run: vendor/bin/phpbench run --report=performance