Skip to content

Updated to PHP Chess 1.4.20 #170

Updated to PHP Chess 1.4.20

Updated to PHP Chess 1.4.20 #170

Workflow file for this run

name: Run tests
on: [ push, pull_request ]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, dom, fileinfo, intl
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Check Composer Version
run: composer -V
- name: Install Dependencies
run: composer update --no-interaction
- name: Creating .env for unit tests
run: mv .env.example .env
- name: Execute Tests
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover