Skip to content

Commit 544c6cd

Browse files
dev: run examples on stable version (#189)
1 parent 2108213 commit 544c6cd

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- main
66
pull_request:
77
workflow_dispatch:
8+
# For detect flaky tests
9+
schedule:
10+
- cron: "45 * * * *"
11+
812
jobs:
913
unit-tests:
1014
strategy:
@@ -35,7 +39,7 @@ jobs:
3539
strategy:
3640
fail-fast: false
3741
matrix:
38-
ydb-version: [trunk]
42+
ydb-version: [ 'trunk' ]
3943
dotnet-version: [6.0.x, 7.0.x]
4044
include:
4145
- dotnet-version: 6.0.x
@@ -76,7 +80,7 @@ jobs:
7680
strategy:
7781
fail-fast: false
7882
matrix:
79-
ydb-version: [ trunk ]
83+
ydb-version: [ 'latest', '24.1' ]
8084
dotnet-version: [ 6.0.x, 7.0.x ]
8185
include:
8286
- dotnet-version: 6.0.x

examples/src/AdoNet/Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ private async Task SelectWithParameters()
199199

200200
var ydbCommand = connection.CreateCommand();
201201
ydbCommand.CommandText = """
202+
DECLARE $series_id AS Uint64;
203+
DECLARE $season_id AS Uint64;
204+
DECLARE $limit_size AS Uint64;
205+
202206
SELECT
203207
series_id,
204208
season_id,

0 commit comments

Comments
 (0)