Enable DB tests via ScyllaDB service (#1103)

Fixes #1092
This commit is contained in:
Alex Kremer
2024-01-15 12:09:00 +00:00
committed by GitHub
parent 350a45e7e2
commit 13d2d4e2ca
9 changed files with 143 additions and 27 deletions

View File

@@ -6,7 +6,7 @@ runs:
- name: Run tests
shell: bash
run: |
build/clio_tests --gtest_filter="-BackendCassandraBaseTest*:BackendCassandraTest*:BackendCassandraFactoryTestWithDB*"
build/clio_tests --backend_host=scylladb
- name: Run gcovr
shell: bash

View File

@@ -39,6 +39,15 @@ jobs:
runs-on: [self-hosted, "${{ matrix.os }}"]
container: ${{ matrix.container }}
services:
scylladb:
image: ${{ (matrix.code_coverage) && 'scylladb/scylla' || '' }}
options: >-
--health-cmd "cqlsh -e 'describe cluster'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
with: