Skip to content

[Testing:Developer] Adding php unit tests #2

[Testing:Developer] Adding php unit tests

[Testing:Developer] Adding php unit tests #2

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
run:
runs-on: 'ubuntu-latest'
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- run: mkdir -p build/logs
- name: Install composer dependencies
uses: ramsey/composer-install@v1
- name: Run Tests
run: vendor/bin/phpunit