Skip to content

Merge pull request #78 from cultuurnet/add-name-parameter #180

Merge pull request #78 from cultuurnet/add-name-parameter

Merge pull request #78 from cultuurnet/add-name-parameter #180

Workflow file for this run

name: CI
on: push
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2']
name: PHP ${{ matrix.php-versions }}
steps:
- name: πŸ“€ Checkout project
uses: actions/checkout@v2
- name: 🐘 Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
ini-values: xdebug.mode=coverage
tools: composer
- name: πŸ“¦ Install dependencies
run: composer update
- name: βœ… Run tests
run: composer test
cs:
runs-on: ubuntu-latest
name: Code style
steps:
- name: πŸ“€ Checkout project
uses: actions/checkout@v2
- name: 🐘 Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer
- name: πŸ“¦ Install dependencies
run: composer update
- name: ✨ Run code style check
run: composer cs
phpstan:
runs-on: ubuntu-latest
name: Static analysis
steps:
- name: πŸ“€ Checkout project
uses: actions/checkout@v2
- name: 🐘 Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer
- name: πŸ“¦ Install dependencies
run: composer update
- name: πŸ” Run static analysis
run: composer phpstan