From afd913a9852365c0744ca95cdf5bf7f809bdb38f Mon Sep 17 00:00:00 2001 From: disksing Date: Wed, 30 Jun 2021 16:34:12 +0800 Subject: [PATCH] add go-ycsb compatibility test (#192) Signed-off-by: disksing --- .github/workflows/compatibility.yml | 13 +++++++++++++ README.md | 7 ++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 88b3dc76..290c4afb 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -62,3 +62,16 @@ jobs: go mod tidy make working-directory: ticdc + + - name: Checkout go-ycsb + uses: actions/checkout@v2 + with: + repository: pingcap/go-ycsb + path: go-ycsb + + - name: Check build + run: | + go mod edit -replace=github.com/tikv/client-go/v2=../client-go + go mod tidy + go build cmd/go-ycsb/* + working-directory: go-ycsb diff --git a/README.md b/README.md index bbbbec4c..080ef601 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,10 @@ go mod download github.com/tikv/client-go/v2 `client-go` is used by the following projects: -- TiDB: TiDB is an open source distributed HTAP database compatible with the MySQL protocol (https://github.com/pingcap/tidb) -- BR: A command-line tool for distributed backup and restoration of the TiDB cluster data (https://github.com/pingcap/br) -- TiCDC: Change data capture for TiDB (https://github.com/pingcap/ticdc) +- [TiDB](https://github.com/pingcap/tidb): TiDB is an open source distributed HTAP database compatible with the MySQL protocol +- [BR](https://github.com/pingcap/br): A command-line tool for distributed backup and restoration of the TiDB cluster data +- [TiCDC](https://github.com/pingcap/ticdc): Change data capture for TiDB +- [go-ycsb](https://github.com/pingcap/go-ycsb): A Go port of Yahoo! Cloud Serving Benchmark (YCSB) ## License