Skip to content

Fix wpackagist vendor names #13

Fix wpackagist vendor names

Fix wpackagist vendor names #13

Workflow file for this run

name: PHP QA
on:
workflow_dispatch:
pull_request:
paths:
- '**/php-qa.yml'
- 'composer.*'
- 'phpcs*'
- 'psalm*'
- 'phpunit*'
- '**.php'
push:
paths:
- '**/php-qa.yml'
- 'composer.*'
- 'phpcs*'
- 'psalm*'
- 'phpunit*'
- '**.php'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-php:
strategy:
matrix:
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
uses: inpsyde/reusable-workflows/.github/workflows/lint-php.yml@main
with:
PHP_VERSION: ${{ matrix.php }}
coding-standards-analysis-php:
needs: lint-php
uses: inpsyde/reusable-workflows/.github/workflows/coding-standards-php.yml@main
static-code-analysis-php:
needs: lint-php
uses: inpsyde/reusable-workflows/.github/workflows/static-analysis-php.yml@main
with:
PSALM_ARGS: '--output-format=github --no-cache --find-unused-psalm-suppress'
tests-unit-php:
needs: [ static-code-analysis-php, coding-standards-analysis-php ]
strategy:
matrix:
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
uses: inpsyde/reusable-workflows/.github/workflows/tests-unit-php.yml@main
secrets:
COMPOSER_AUTH_JSON: ${{ secrets.COMPOSER_AUTH_JSON }}
with:
PHPUNIT_ARGS: '--testsuite=Unit --coverage-text'
PHP_VERSION: ${{ matrix.php }}