CI for PR #351 #180
Workflow file for this run
This file contains hidden or 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: Continuous Integration | |
| run-name: "CI for PR #${{ github.event.number }}" | |
| on: [pull_request] | |
| env: | |
| COMPOSER: composer.dev.json | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/[email protected] | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| uses: php-actions/composer@v6 | |
| with: | |
| dev: yes | |
| - uses: pre-commit/[email protected] | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| uses: php-actions/composer@v6 | |
| with: | |
| dev: yes | |
| - run: echo "Testing..." | |
| changelog-validation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/[email protected] | |
| with: | |
| python-version: '3.11' | |
| - name: Install click 8.2.2 until bug in 8.3.0 is resolved | |
| run: pip install click==8.2.2 | |
| - name: Install script dependencies | |
| run: pip install changelogged==0.11.3 | |
| - name: Validate Changelog | |
| run: changelogger check --fail | |
| magento-coding-standard: | |
| runs-on: ubuntu-latest | |
| env: | |
| COMPOSER: composer.magento-coding-standard.dev.json | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| uses: php-actions/composer@v6 | |
| with: | |
| dev: yes | |
| - name: Run Magento Coding Standard via PHPCS | |
| run: vendor/bin/phpcs --standard=Magento2 --ignore="*/vendor/*,*/Test/*" --severity=10 . |