Skip to content

Merge pull request #7024 from nustiueudinastea/concurrent-branches-map #13

Merge pull request #7024 from nustiueudinastea/concurrent-branches-map

Merge pull request #7024 from nustiueudinastea/concurrent-branches-map #13

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