Merge pull request #483 from Wahesh/fix/theme-unit-test-url-wptt #658
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: PHP Code Standards check | |
| on: [push, pull_request] | |
| jobs: | |
| phpcs: | |
| name: PHP Code Standards | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress | |
| - name: PHPCS check | |
| uses: chekalsky/phpcs-action@v1 | |
| with: | |
| phpcs_bin_path: './vendor/bin/phpcs' | |
| enable_warnings: true |