Skip to content

Commit a9cd1ee

Browse files
authored
Added latest tag to integration tests matrix (#1795)
* Added latest tag to integration tests matrix * Update query_execute_test.go * Update .github/workflows/tests.yml
1 parent c6a60a7 commit a9cd1ee

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
fail-fast: false
5454
matrix:
5555
go-version: [1.21.x, 1.24.x]
56-
ydb-version: [24.1, 24.2, 24.3, 24.4, 25.1]
56+
ydb-version: [latest, 24.4, 25.1]
5757
os: [ubuntu]
5858
services:
5959
ydb:

tests/integration/query_execute_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,10 @@ SELECT * FROM AS_TABLE($arg);
541541
}
542542

543543
func TestQueryWideDateTimeTypes(t *testing.T) {
544-
if os.Getenv("YDB_VERSION") != "nightly" && version.Lt(os.Getenv("YDB_VERSION"), "25.1") {
545-
t.Skip("require enables transactions for topics")
544+
ydbVersion := os.Getenv("YDB_VERSION")
545+
546+
if ydbVersion == "latest" || (ydbVersion != "nightly" && version.Lt(ydbVersion, "25.1")) {
547+
t.Skip("require enables wide date/interval types")
546548
}
547549

548550
scope := newScope(t)

0 commit comments

Comments
 (0)