From c7dd71a99a1fcaae5083afee135fb05bdf30ec5d Mon Sep 17 00:00:00 2001 From: "chunshao.rcs" Date: Wed, 29 Mar 2023 16:27:09 +0800 Subject: [PATCH] modify ci --- .github/workflows/ci.yml | 4 ++-- integration_tests/Makefile | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40c256014f..49db8157fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -206,9 +206,9 @@ jobs: nohup ./target/debug/ceresdb-server -c docs/minimal.toml > /tmp/ceresdb-stdout.log & sleep 10 - name: Run Go SDK tests - working-directory: integration_tests/sdk/go + working-directory: integration_tests run: | - go run main.go + make run-go - name: Run Java SDK tests working-directory: integration_tests run: | diff --git a/integration_tests/Makefile b/integration_tests/Makefile index aa4d4baedf..0f6c1689a3 100644 --- a/integration_tests/Makefile +++ b/integration_tests/Makefile @@ -48,3 +48,6 @@ run: clean build kill-old-process run-java: java -version cd sdk/java && MAVEN_OPTS="--add-opens=java.base/java.nio=ALL-UNNAMED" mvn clean compile exec:java + +run-go: + cd sdk/go && go run .