Skip to content

[1.x] allow spying on Output methods (#27) #23

[1.x] allow spying on Output methods (#27)

[1.x] allow spying on Output methods (#27) #23

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
ci:
name: "CI"
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-latest ]
php-version: [ 8.3 ]
steps:
# --------- Setup steps ---------
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
coverage: "pcov"
php-version: "${{ matrix.php-version }}"
ini-values: memory_limit=-1
extensions: pcov, xdebug
- name: "Install dependencies"
uses: ramsey/composer-install@v2
# --------- Run steps ---------
- name: "Unit Tests"
run: "composer test"
- name: "Coding Style"
run: "composer cs-check"
if: matrix.operating-system == 'ubuntu-latest'
- name: "Static code analysis"
run: "composer psalm"
if: matrix.operating-system == 'ubuntu-latest'