Skip to content

Commit

Permalink
dev: run examples on stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Sep 16, 2024
1 parent 2108213 commit a09e384
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- main
pull_request:
workflow_dispatch:
# For detect flaky tests
schedule:
- cron: "45 * * * *"

jobs:
unit-tests:
strategy:
Expand Down Expand Up @@ -35,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ydb-version: [trunk]
ydb-version: [ 'trunk' ]
dotnet-version: [6.0.x, 7.0.x]
include:
- dotnet-version: 6.0.x
Expand All @@ -52,6 +56,7 @@ jobs:
env:
YDB_LOCAL_SURVIVE_RESTART: true
YDB_USE_IN_MEMORY_PDISKS: true
YDB_TABLE_ENABLE_PREPARED_DDL: true
options: '--name ydb-local -h localhost'
env:
OS: ubuntu-22.04
Expand All @@ -76,7 +81,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ydb-version: [ trunk ]
ydb-version: [ 'latest', '24.1' ]
dotnet-version: [ 6.0.x, 7.0.x ]
include:
- dotnet-version: 6.0.x
Expand Down
4 changes: 4 additions & 0 deletions examples/src/AdoNet/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ private async Task SelectWithParameters()

var ydbCommand = connection.CreateCommand();
ydbCommand.CommandText = """
DECLARE $series_id AS Uint64;
DECLARE $season_id AS Uint64;
DECLARE $limit_size AS Uint64;

SELECT
series_id,
season_id,
Expand Down

0 comments on commit a09e384

Please sign in to comment.