Skip to content

Commit d352570

Browse files
groups in tests
1 parent e84030e commit d352570

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/tests.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,16 @@ concurrency:
1212
cancel-in-progress: true
1313
jobs:
1414
unit:
15-
name: PR check for YDB C++ SDK
16-
runs-on: ubuntu-22.04
17-
services:
18-
ydb:
19-
image: ydbplatform/local-ydb:latest
20-
ports:
21-
- 2135:2135
22-
- 2136:2136
23-
- 8765:8765
24-
volumes:
25-
- /tmp/ydb_certs:/ydb_certs
26-
env:
27-
YDB_LOCAL_SURVIVE_RESTART: true
28-
YDB_USE_IN_MEMORY_PDISKS: true
29-
YDB_TABLE_ENABLE_PREPARED_DDL: true
30-
options: '-h localhost'
15+
concurrency:
16+
group: unit-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
17+
cancel-in-progress: true
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os: [ubuntu, macOS]
22+
env:
23+
OS: ${{ matrix.os }}-latest
24+
runs-on: ${{ matrix.os }}-latest
3125
steps:
3226
- name: Checkout PR
3327
uses: actions/checkout@v3
@@ -63,11 +57,17 @@ jobs:
6357
ctest -j32 --preset release-unit
6458
6559
integrtion:
66-
name: PR check for YDB C++ SDK
67-
runs-on: ubuntu-22.04
60+
concurrency:
61+
group: integration-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}-${{ matrix.ydb-version }}
62+
cancel-in-progress: true
63+
runs-on: ubuntu-latest
64+
strategy:
65+
fail-fast: false
66+
matrix:
67+
ydb-version: [23.3, 24.1]
6868
services:
6969
ydb:
70-
image: ydbplatform/local-ydb:latest
70+
image: ydbplatform/local-ydb:${{ matrix.ydb-version }}
7171
ports:
7272
- 2135:2135
7373
- 2136:2136

0 commit comments

Comments
 (0)