Skip to content

/.github/workflows: enable nightly correctness, add latency on pull comment #201

/.github/workflows: enable nightly correctness, add latency on pull comment

/.github/workflows: enable nightly correctness, add latency on pull comment #201

Workflow file for this run

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 ./...