Skip to content

PHP School Cloud

PHP School Cloud #53

Workflow file for this run

name: PhpSchool.io
on:
push:
branches: [ master ]
pull_request:
branches: [ master, online ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.2, 8.3]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2, cs2pr
- name: Install PHP Dependencies
run: composer install --prefer-dist
- name: Run phpunit tests
run: composer phpunit
- name: Run phpcs
run: composer cs:ci
- name: Run PHPStan
run: composer static