Skip to content

[auto-bump] [no-release-notes] dependency by zachmu #1856

[auto-bump] [no-release-notes] dependency by zachmu

[auto-bump] [no-release-notes] dependency by zachmu #1856

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: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
id: go
- name: Build SQL Syntax
run: ./build.sh
working-directory: ./postgres/parser
shell: bash
- name: Test
if: ${{ matrix.platform != 'ubuntu-latest' }}
run: go test -skip="TestReplication" $(go list ./... | grep -v enginetest)
- name: Test
if: ${{ matrix.platform == 'ubuntu-latest' }}
# Enginetest harness breaks with race testing, not sure why yet
run: go test -race -skip="TestReplication" $(go list ./... | grep -v enginetest)