Skip to content

Commit 4a5dea2

Browse files
committed
github actions: run integration test on cassandra
to make sure we don't break compitability completly with cassandra introducing tests with one version of cassandra as well
1 parent fee957a commit 4a5dea2

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/integration-tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,20 @@ jobs:
2929
with:
3030
default: 2.7.14
3131
versions: ${{ matrix.python-version }}
32-
- name: Test with pytest
32+
- name: Test with scylla
3333
run: |
3434
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
3535
export SCYLLA_VERSION='release:5.1'
3636
./ci/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/
3737
38-
- name: Test tablets
38+
- name: Test with scylla - tablets
3939
run: |
4040
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
4141
export SCYLLA_VERSION='unstable/master:2024-01-17T17:56:00Z'
4242
./ci/run_integration_test.sh tests/integration/experiments/
43+
44+
- name: Test with cassandra
45+
run: |
46+
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
47+
export CASSANDRA_VERSION='4.1.5'
48+
./ci/run_integration_test.sh tests/integration/standard/

ci/run_integration_test.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ pip install awscli
3030
pip install https://github.com/scylladb/scylla-ccm/archive/master.zip
3131

3232
# download version
33-
34-
ccm create scylla-driver-temp -n 1 --scylla --version ${SCYLLA_VERSION}
35-
ccm remove
36-
33+
if [[ -n "${SCYLLA_VERSION}" ]]; then
34+
ccm create scylla-driver-temp -n 1 --scylla --version ${SCYLLA_VERSION}
35+
ccm remove
36+
fi
37+
if [[ -n "${CASSANDRA_VERSION}" ]]; then
38+
ccm create cassandra-driver-temp -n 1 --version ${CASSANDRA_VERSION}
39+
ccm remove
40+
fi
3741
# run test
3842

3943
export MAPPED_SCYLLA_VERSION=3.11.4

0 commit comments

Comments
 (0)