/.github/{scripts,workflows}: add pull-report workflow, add script for updating readme with perf and correctness #203
Workflow file for this run
This file contains 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: Test | |
on: [pull_request] | |
concurrency: | |
group: test-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Setup Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.21 | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build SQL Syntax | |
run: ./build.sh | |
working-directory: ./postgres/parser | |
shell: bash | |
- name: Test | |
if: ${{ matrix.platform != 'ubuntu-latest' }} | |
run: go test ./... | |
- name: Test | |
if: ${{ matrix.platform == 'ubuntu-latest' }} | |
run: go test -race ./... |