Skip to content

Initialize headless terminal dimensions in Testbench and unit tests #3196

Initialize headless terminal dimensions in Testbench and unit tests

Initialize headless terminal dimensions in Testbench and unit tests #3196

name: static analysis
on:
push:
branches:
- 0.4
pull_request:
permissions:
contents: read
jobs:
types:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- name: Source Code
config: phpstan.neon.dist
- name: Types
config: phpstan.types.neon.dist
name: ${{ matrix.name }}
container:
image: ghcr.io/hypervel/components-ci:php8.4-swoole6.3.0-rc1
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Log trigger context
uses: ./.github/actions/log-trigger-context
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist --no-interaction --no-progress
- name: Execute type checking
run: vendor/bin/phpstan --configuration="${{ matrix.config }}" --memory-limit=-1 --no-progress