Use transliterator_transliterate
to generate "url_key"
#5661
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: CI | |
on: | |
push: | |
paths: | |
- '.github/workflows/*' | |
- 'composer.json' | |
- 'composer.lock' | |
- '**.php' | |
- '**.phtml' | |
- '**.js' | |
- '**.xml' | |
- '.php-cs-fixer.dist.php' | |
- '.phpcs.dist.xml' | |
- '.phpcs.dist.ecg.xml' | |
- '.phpcs.dist.php.xml' | |
- '.phpstan.dist.neon' | |
- '.phpstan.dist.baseline.neon' | |
pull_request: | |
paths: | |
- '.github/workflows/*' | |
- 'composer.json' | |
- 'composer.lock' | |
- '**.php' | |
- '**.phtml' | |
- '**.js' | |
- '**.xml' | |
- '.php-cs-fixer.dist.php' | |
- '.phpcs.dist.xml' | |
- '.phpcs.dist.ecg.xml' | |
- '.phpcs.dist.php.xml' | |
- '.phpstan.dist.neon' | |
- '.phpstan.dist.baseline.neon' | |
jobs: | |
debug: | |
name: Debug | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJSON(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
check: | |
name: Check files | |
uses: ./.github/workflows/check-files.yml | |
composer: | |
name: Composer | |
needs: [check] | |
# if: | | |
# needs.check.outputs.composer > 0 || | |
# needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/composer.yml | |
code_ql: | |
name: Code-QL | |
needs: [check] | |
if: | | |
needs.check.outputs.js > 0 || | |
needs.check.outputs.composer > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/codeql-analysis.yml | |
phpcs: | |
name: PHP CS | |
needs: [check, composer] | |
if: | | |
needs.check.outputs.php > 0 || | |
needs.check.outputs.phpcs > 0 || | |
needs.check.outputs.composer > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/phpcs.yml | |
php-cs-fixer: | |
name: PHP CS Fixer | |
needs: [check, composer] | |
if: | | |
needs.check.outputs.php > 0 || | |
needs.check.outputs.php-cs-fixer > 0 || | |
needs.check.outputs.composer > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/php-cs-fixer.yml | |
phpmd: | |
name: PHPMD | |
needs: [check, composer] | |
if: | | |
needs.check.outputs.php > 0 || | |
needs.check.outputs.phpmd > 0 || | |
needs.check.outputs.composer > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/phpmd.yml | |
phpstan: | |
name: PHPStan | |
needs: [check, composer] | |
if: | | |
needs.check.outputs.php > 0 || | |
needs.check.outputs.phtml > 0 || | |
needs.check.outputs.phpstan > 0 || | |
needs.check.outputs.composer > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/phpstan.yml | |
# DOES NOT run by default | |
# runs on schedule or when workflow changed | |
syntax_php: | |
name: PHP Syntax | |
needs: [check, php-cs-fixer] | |
if: needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/syntax-php.yml | |
syntax_xml: | |
name: XML Syntax | |
needs: [check] | |
if: needs.check.outputs.xml > 0 | |
uses: ./.github/workflows/syntax-xml.yml | |
rector: | |
name: Rector | |
needs: [check, phpcs, php-cs-fixer] | |
if: | | |
needs.check.outputs.php > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/rector.yml | |
# DOES NOT run by default | |
# runs on schedule or when workflow or unit tests changed | |
unit_tests: | |
name: Unit Tests (OpenMage) | |
needs: [check, php-cs-fixer] | |
if: | | |
needs.check.outputs.php > 0 || | |
needs.check.outputs.phpunit-test > 0 || | |
needs.check.outputs.phpunit > 0 || | |
needs.check.outputs.workflow > 0 | |
uses: ./.github/workflows/phpunit.yml |