Skip to content

test release on tag

test release on tag #7

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@v4
- 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