Skip to content

Merge pull request #33 from TheDragonCode/dependabot/github_actions/T… #122

Merge pull request #33 from TheDragonCode/dependabot/github_actions/T…

Merge pull request #33 from TheDragonCode/dependabot/github_actions/T… #122

Workflow file for this run

name: phpunit
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ "8.0", "8.1" ]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, bcmath
coverage: xdebug
- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction
- name: Execute tests
run: sudo vendor/bin/phpunit