@@ -13,14 +13,16 @@ jobs:
13
13
build :
14
14
strategy :
15
15
matrix :
16
- python-version : [3.9, "3.10", "3.11"]
16
+ python-version : [3.9, "3.10", "3.11", "3.12" ]
17
17
include :
18
18
- python-version : 3.9
19
19
tox-py : py39
20
20
- python-version : " 3.10"
21
21
tox-py : py310
22
22
- python-version : " 3.11"
23
23
tox-py : py311
24
+ - python-version : " 3.12"
25
+ tox-py : py312
24
26
runs-on : ubuntu-22.04
25
27
steps :
26
28
- uses : actions/checkout@v3
99
101
strategy :
100
102
fail-fast : false
101
103
matrix :
102
- python-version : [3.9, "3.10", "3.11"]
104
+ python-version : [3.9, "3.10", "3.11", "3.12" ]
103
105
it-backend : [local, s3, gcs, minio, azure, azure-hierarchical]
104
106
# IBM not included by default due to lite plan quota being easily exceeded
105
107
# it-backend: [local, s3, gcs, minio, ibm, azure]
@@ -185,7 +187,7 @@ jobs:
185
187
run : |
186
188
poetry install
187
189
sudo apt-get remove azure-cli || true
188
- pip install ccm
190
+ poetry run pip install git+https://github.com/riptano/ ccm.git
189
191
190
192
- name : Check if integration tests can run
191
193
env :
@@ -221,26 +223,26 @@ jobs:
221
223
# Write GCS service account credentials to a file
222
224
mkdir ~/.aws
223
225
# This fake cluster needs to be created first so that the integration tests pass in GH actions. Don't ask me why...
224
- ccm create test_cluster -v binary:${{ matrix.cassandra-version }} -n 1 --vnodes
225
- ccm node1 updateconf 'storage_port: 7011'
226
- ccm node1 updateconf 'concurrent_reads: 4'
227
- ccm node1 updateconf 'concurrent_writes: 4'
228
- ccm node1 updateconf 'concurrent_counter_writes: 4'
229
- ccm node1 updateconf 'num_tokens: 4'
226
+ poetry run ccm create test_cluster -v binary:${{ matrix.cassandra-version }} -n 1 --vnodes
227
+ poetry run ccm node1 updateconf 'storage_port: 7011'
228
+ poetry run ccm node1 updateconf 'concurrent_reads: 4'
229
+ poetry run ccm node1 updateconf 'concurrent_writes: 4'
230
+ poetry run ccm node1 updateconf 'concurrent_counter_writes: 4'
231
+ poetry run ccm node1 updateconf 'num_tokens: 4'
230
232
sed -i 's/#MAX_HEAP_SIZE="4G"/MAX_HEAP_SIZE="256m"/' ~/.ccm/test_cluster/node1/conf/cassandra-env.sh
231
233
sed -i 's/#HEAP_NEWSIZE="800M"/HEAP_NEWSIZE="200M"/' ~/.ccm/test_cluster/node1/conf/cassandra-env.sh
232
234
# remove the ThreadPriorityPolicy option for cases where we run with java 11
233
235
sed -i 's/-XX:ThreadPriorityPolicy=42//' ~/.ccm/test_cluster/node1/conf/jvm.options || true
234
236
sed -i 's/-XX:ThreadPriorityPolicy=42//' ~/.ccm/test_cluster/node1/conf/jvm8-server.options || true
235
- ccm start -v
236
- ccm showlastlog|tail -100
237
- ccm stop
237
+ poetry run ccm start -v
238
+ poetry run ccm showlastlog|tail -100
239
+ poetry run ccm stop
238
240
# if we are dealing with C* 4.0+, we need to fix the java-driver dependency.
239
241
# it has a bug that breaks sstableloader tests with client encryption enabled
240
242
# if cassandra version starts with 4.0 or 4.1
241
243
if [[ "${{ matrix.cassandra-version }}" =~ ^4\.[01]\. ]];
242
244
then
243
- ccm create driver-fix-cluster -v ${{ matrix.cassandra-version }} -n 1
245
+ poetry run ccm create driver-fix-cluster -v ${{ matrix.cassandra-version }} -n 1
244
246
# enclosed in () so we return to current pwd once we are done fixing the driver
245
247
(
246
248
cd ~/.ccm/repository/${{ matrix.cassandra-version }}/lib
0 commit comments