Skip to content

wip

wip #4

Workflow file for this run

name: tests
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ 8.2, 8.3 ]
stability: [ prefer-lowest, prefer-stable ]
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, bcmath, intl, exif, iconv, fileinfo
- name: Install dependencies
run: |
composer install
- name: Prepare Env
run: |
cp .env.example .env
- name: Run Tests
run: |
composer test