forked from datastax/python-driver
-
Notifications
You must be signed in to change notification settings - Fork 42
53 lines (46 loc) · 1.54 KB
/
integration-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Integration tests
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
tests:
name: test ${{ matrix.event_loop_manager }} (${{ matrix.python-version }})
if: "!contains(github.event.pull_request.labels.*.name, 'disable-integration-tests')"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java-version: [8]
python-version: ["3.8", "3.11", "3.12", "3.13"]
event_loop_manager: ["libev", "asyncio", "asyncore"]
exclude:
- python-version: "3.12"
event_loop_manager: "asyncore"
- python-version: "3.13"
event_loop_manager: "asyncore"
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
- uses: actions/setup-python@v5
name: Install Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Test with pytest
run: |
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
export SCYLLA_VERSION='release:6.2'
./scripts/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/
- name: Test tablets
run: |
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
export SCYLLA_VERSION='release:6.2'
./scripts/run_integration_test.sh tests/integration/experiments/