Skip to content

renamed "DataLayerEndpoint" to "SettingsPageEndpoint". #144

renamed "DataLayerEndpoint" to "SettingsPageEndpoint".

renamed "DataLayerEndpoint" to "SettingsPageEndpoint". #144

Workflow file for this run

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