feat:Update to oro 6 #27
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: | |
branches: [ master ] | |
paths-ignore: | |
- README.md | |
pull_request: | |
paths-ignore: | |
- README.md | |
jobs: | |
analysis: | |
name: PHP ${{ matrix.php }} | |
runs-on: ubuntu-18.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [8.3] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Composer - Update dependencies | |
run: composer update --no-progress | |
id: end-of-setup | |
- name: PHPStan - Run | |
run: if [ -f ruleset/phpstan.neon ]; then vendor/bin/phpstan analyse -c ruleset/phpstan.neon src/ ; else echo PHPStan ruleset file does not exist, skipping step ; fi | |
if: always() && steps.end-of-setup.outcome == 'success' | |
- name: PHPSpec - Run | |
run: if [ -f phpspec.yml.dist ]; then vendor/bin/phpspec run ; else echo PHPSpec config file does not exist, skipping step ; fi | |
if: always() && steps.end-of-setup.outcome == 'success' | |
- name: PHPMD - Run | |
run: if [ -f ruleset/.php_md.xml ]; then vendor/bin/phpmd src ansi ruleset/.php_md.xml ; else echo PHPMD config file does not exist, skipping step ; fi | |
if: always() && steps.end-of-setup.outcome == 'success' | |
- name: GrumPHP - Run | |
run: (test -f grumphp.yml && vendor/bin/grumphp run) || echo Grumphp ruleset file does not exist, skipping step | |
if: always() && steps.end-of-setup.outcome == 'success' |