Merge pull request #269 from constructive-io/devin/1767720648-fix-fai… #930
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: Parser tests | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| parser-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| package: | |
| - deparser | |
| - parser | |
| - plpgsql-deparser | |
| - plpgsql-parser | |
| - pgsql-cli | |
| - proto-parser | |
| - transform | |
| - traverse | |
| - utils | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v3 | |
| - name: setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: install dependencies | |
| run: pnpm install | |
| - name: build | |
| run: pnpm build | |
| - name: test | |
| run: pnpm --filter ${{ matrix.package }} test |