Files
wehub-resource-sync 5357c39144
Race tests / Go race tests (ubuntu-22.04) (push) Waiting to run
Fuzzer / Run Fuzzer (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:40 +08:00

57 lines
1.3 KiB
YAML

name: Test Binlog
on:
pull_request:
branches: [ main ]
paths:
- 'go/**'
workflow_dispatch:
concurrency:
group: ci-binlog-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
binlog-test:
name: Binlog 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 Binlog
working-directory: ./go
run: |
# Test binlog packages
go test -vet=off -timeout 60m ./libraries/doltcore/sqle/binlogreplication/...
env:
MATRIX_OS: ${{ matrix.os }}
binlog-race-test:
name: Binlog tests - race
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 Binlog with Race
working-directory: ./go
run: |
# Test binlog packages with race detector
go test -vet=off -timeout 60m -race ./libraries/doltcore/sqle/binlogreplication/...
env:
MATRIX_OS: ${{ matrix.os }}