rebuild fixtures #124
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 Tests | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: [develop] | |
| jobs: | |
| NodeJS: | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x, 24.x] | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Check coding standards | |
| if: matrix.node-version == '24.x' && matrix.os == 'ubuntu-latest' | |
| run: pnpm run lint | |
| - name: Test parser generation | |
| run: npm test | |
| env: | |
| ONLY_GENERATE_PARSERS: 'y' | |
| PHP: | |
| strategy: | |
| matrix: | |
| php-version: [8.1, 8.2, 8.3, 8.4] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v4" | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: "Install PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| coverage: "none" | |
| php-version: "${{ matrix.php-version }}" | |
| tools: composer:v2 | |
| ini-values: error_reporting=-1 | |
| - name: "Install dependencies" | |
| run: "composer install --no-interaction --no-progress" | |
| - name: "Check coding standards" | |
| run: npm run php:csfix | |
| - name: "Static analysis" | |
| run: npm run php:static | |
| - name: "Test Parsers" | |
| run: npm run php:test |