From a64bab26ee2f1eb95ad30acc058881ecf1174e7d Mon Sep 17 00:00:00 2001 From: auxten Date: Tue, 27 Aug 2024 10:57:40 +0800 Subject: [PATCH 1/2] Fix CI small issue --- chdb/driver/driver_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chdb/driver/driver_test.go b/chdb/driver/driver_test.go index d16b951..ebbfcb1 100644 --- a/chdb/driver/driver_test.go +++ b/chdb/driver/driver_test.go @@ -179,6 +179,8 @@ func TestQueryRow(t *testing.T) { t.Fatalf("new session fail, err: %s", err) } defer session.Cleanup() + session.Query("CREATE DATABASE IF NOT EXISTS testdb; " + + "CREATE TABLE IF NOT EXISTS testdb.testtable (id UInt32) ENGINE = MergeTree() ORDER BY id;") session.Query("USE testdb; INSERT INTO testtable VALUES (1), (2), (3);") From d4526a7f76248d6de00b159a8666bdd53b051d92 Mon Sep 17 00:00:00 2001 From: auxten Date: Tue, 27 Aug 2024 10:59:32 +0800 Subject: [PATCH 2/2] Enable tests on PR --- .github/workflows/chdb.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/chdb.yml b/.github/workflows/chdb.yml index 1b177fc..1c07297 100644 --- a/.github/workflows/chdb.yml +++ b/.github/workflows/chdb.yml @@ -1,6 +1,10 @@ name: chDB-go on: + pull_request: + branches: [ "main" ] + paths-ignore: + - '**/.md' push: branches: [ "main" ] paths-ignore: