playwright.config.ts // fix eslint errors for reporter naming to avoid overloading-error. #151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Quality Assurance | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- 1.x | |
- 2.x | |
pull_request: | |
branches: | |
- master | |
- 1.x | |
- 2.x | |
jobs: | |
lint-php: | |
uses: inpsyde/reusable-workflows/.github/workflows/lint-php.yml@main | |
strategy: | |
matrix: | |
php: [ '8.1', '8.2' ] | |
with: | |
PHP_VERSION: ${{ matrix.php }} | |
coding-standards-analysis-php: | |
uses: inpsyde/reusable-workflows/.github/workflows/coding-standards-php.yml@main | |
with: | |
PHP_VERSION: '8.1' | |
static-code-analysis-php: | |
uses: inpsyde/reusable-workflows/.github/workflows/static-analysis-php.yml@main | |
with: | |
PSALM_ARGS: '--threads=3' | |
PHP_VERSION: '8.1' | |
tests-unit-php: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
strategy: | |
matrix: | |
php-versions: [ '8.1', '8.2' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: composer:v2 | |
- name: Install dependencies | |
run: composer install -q -n -a --no-progress --prefer-dist | |
- name: Run unit tests | |
run: composer tests:codecov | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.xml | |
flags: unittests | |
verbose: true |