Skip to content

PHP

PHP #210

Workflow file for this run

name: PHP
on:
pull_request:
paths:
- '**/*.php'
- .github/workflows/php.yml
push:
paths:
- '**/*.php'
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
jobs:
cs:
if: github.event_name != 'schedule'
uses: shopware/github-actions/.github/workflows/cs-fixer.yml@main
phpstan:
uses: shopware/github-actions/.github/workflows/phpstan.yml@main
with:
extensionName: ${{ github.event.repository.name }}
shopwareVersion: trunk
phpunit:
strategy:
fail-fast: false
matrix:
shopware-version:
- '6.5.x'
- 'trunk'
uses: shopware/github-actions/.github/workflows/phpunit.yml@main
with:
extensionName: ${{ github.event.repository.name }}
shopwareVersion: ${{ matrix.shopware-version }}
uploadCoverage: true
secrets:
codecovToken: ${{ secrets.CODECOV_TOKEN }}