33 lines
810 B
YAML
33 lines
810 B
YAML
name: Race tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'go/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
racetests:
|
|
name: Go race tests
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-22.04 ]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Go toolchain
|
|
uses: ./.github/actions/setup-go-toolchain
|
|
- name: Test engine
|
|
working-directory: ./go
|
|
run: |
|
|
DOLT_SKIP_PREPARED_ENGINETESTS=1 go test -vet=off -v -race -timeout 30m github.com/dolthub/dolt/go/libraries/doltcore/sqle/enginetest
|
|
- name: Test concurrentmap
|
|
working-directory: ./go
|
|
run: |
|
|
go test -vet=off -v -race -timeout 1m github.com/dolthub/dolt/go/libraries/utils/concurrentmap
|