Skip to content

Split up long line in test #2

Split up long line in test

Split up long line in test #2

Workflow file for this run

name: Test & static analysis
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
phpstan:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse --memory-limit=2G"
phpcs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run phpcs"
run: "vendor/bin/phpcs"
phpunit:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run phpunit"
run: "vendor/bin/phpunit"