Skip to content

CI: Adjusted triggers. #3

CI: Adjusted triggers.

CI: Adjusted triggers. #3

Workflow file for this run

name: tests
on:
push:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [8.3]
stability: [prefer-lowest, prefer-stable]
include:
- php: 8.3
stability: 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, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: pcov
- name: Install dependencies
run: |
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D
- name: Type Tests
run: composer test:types
- name: Code Quality Tests
run: composer test:refactor
- name: Unit Tests
run: composer test:unit