Skip to content

Run actions on PHP 8.2 #5

Run actions on PHP 8.2

Run actions on PHP 8.2 #5

Workflow file for this run

name: "Unit tests"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
static-analysis-phpstan:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 8.0
- 8.1
- 8.2
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
- name: Install dependencies with composer
run: composer i --no-interaction --no-progress --no-suggest
- name: Run Psalm
run: ./vendor/bin/psalm
- name: Run PHPUnit
run: ./vendor/bin/phpunit --testdox