Merge pull request #7015 from dolthub/fulghum/bugfix #6
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: 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 ] | |
dolt_fmt: [ "__DOLT__" ] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.21 | |
id: go | |
- uses: actions/checkout@v3 | |
- 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 | |
env: | |
DOLT_DEFAULT_BIN_FORMAT: ${{ matrix.dolt_fmt }} | |
- name: Test concurrentmap | |
working-directory: ./go | |
run: | | |
go test -vet=off -v -race -timeout 1m github.com/dolthub/dolt/go/libraries/utils/concurrentmap |