Skip to content

Merge pull request #9 from cspray/task/remove-initializer #24

Merge pull request #9 from cspray/task/remove-initializer

Merge pull request #9 from cspray/task/remove-initializer #24

Workflow file for this run

name: 'Unit Tests & Static Analysis'
on:
push:
branches: [ release-1.x, release-2.x ]
pull_request:
branches: [ release-1.x, release-2.x ]
jobs:
continuous-integration:
runs-on: ubuntu-latest
env:
XDEBUG_MODE: coverage
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:2
- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Composer Install
run: composer install
- name: PHPUnit
run: ./vendor/bin/phpunit
- name: Psalm
run: ./vendor/bin/psalm