Skip to content

Ci composer json

Ci composer json #38

Workflow file for this run

name: Check
on:
#push:
# branches: ['main', '*.*.x']
#pull_request:
# paths:
# - composer.json
pull_request: ~
jobs:
psalm:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2]
dependencies: [lowest, highest]
steps:
- id: coverage
run: |
echo "${{ (matrix.php == fromJson('["8.1", "8.2"]')[0]) && '1' || '0' }}";
#- uses: actions/checkout@v4
#- uses: shivammathur/setup-php@v2
# with:
# php-version: ${{ matrix.php }}
# ini-file: development
# tools: composer:v2
# coverage: ${{ steps.coverage.outputs.coverage && 'pcov' || '' }}
#- uses: ramsey/composer-install@v3
# with:
# composer-options: --optimize-autoloader
# dependency-versions: ${{ matrix.dependencies }}
#- run: composer test -- --colors=always --coverage-clover coverage.xml
#- if: ${{ steps.coverage.outputs.coverage }}
# uses: codecov/codecov-action@v4
# env:
# CODECOV_TOKEN: test