Admin UI on @plugpress/ui (migration → v0.8.2) + header refresh + hyg… #30
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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| jobs: | |
| lint: | |
| name: PHPCS (WPCS + PHP compat) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| coverage: none | |
| tools: composer | |
| - name: Install dependencies | |
| run: composer install --no-interaction --no-progress | |
| - name: Lint | |
| run: composer lint | |
| test: | |
| name: PHPUnit (PHP ${{ matrix.php }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: [ '8.1', '8.2', '8.3' ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| extensions: pdo, sqlite3, pdo_sqlite | |
| tools: composer | |
| - name: Install dependencies | |
| run: composer install --no-interaction --no-progress | |
| - name: Test | |
| run: composer test |