Skip to content

Merge pull request #3 from rickzim/feature/initial-starting-point #54

Merge pull request #3 from rickzim/feature/initial-starting-point

Merge pull request #3 from rickzim/feature/initial-starting-point #54

Workflow file for this run

name: tests
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
matrix:
php: [8.4, 8.3, 8.2]
dependency-version: [prefer-stable]
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: dom, mbstring, zip, mbstring, pdo, sqlite, pdo_sqlite
coverage: pcov
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-scripts
- name: Execute tests
run: ./vendor/bin/phpunit