Skip to content

[Git] Added .phpunit.cache directory to ignored files #48

[Git] Added .phpunit.cache directory to ignored files

[Git] Added .phpunit.cache directory to ignored files #48

Workflow file for this run

name: CI
on:
push:
branches:
- '[0-9]+.[0-9]+'
- main
pull_request: ~
jobs:
tests:
name: Tests
runs-on: "ubuntu-22.04"
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.3'
steps:
- uses: actions/checkout@v4
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: pdo_sqlite, gd
tools: cs2pr
- uses: ramsey/composer-install@v3
with:
dependency-versions: "highest"
composer-options: "--prefer-dist --no-progress --no-suggest"
- name: Run PHPStan analysis
run: composer run-script phpstan
- name: Run tests suite
run: composer run-script test
- name: Run code style check
run: composer run-script check-cs -- --format=checkstyle | cs2pr