Skip to content

Commit 524914f

Browse files
committed
integration-tests.yml: Move to uv
1 parent 78a62cd commit 524914f

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/integration-tests.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,30 @@ jobs:
4444
java-version: ${{ matrix.java-version }}
4545
distribution: 'adopt'
4646

47-
- uses: actions/setup-python@v5
48-
name: Install Python ${{ matrix.python-version }}
47+
- name: Install libev
48+
run: sudo apt-get install libev4 libev-dev
49+
50+
- name: Install uv
51+
uses: astral-sh/setup-uv@v5
4952
with:
5053
python-version: ${{ matrix.python-version }}
51-
allow-prereleases: true
54+
55+
# This is to get honest accounting of test time vs download time vs build time.
56+
# Not strictly necessary for running tests.
57+
- name: Build driver
58+
run: uv sync
59+
60+
# This is to get honest accounting of test time vs download time vs build time.
61+
# Not strictly necessary for running tests.
62+
- name: Download Scylla
63+
run: |
64+
export SCYLLA_VERSION='release:6.2'
65+
uv run ccm create scylla-driver-temp -n 1 --scylla --version ${SCYLLA_VERSION}
66+
uv run ccm remove
5267
5368
- name: Test with pytest
5469
run: |
5570
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
5671
export SCYLLA_VERSION='release:6.2'
57-
./scripts/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/
72+
export PROTOCOL_VERSION=4
73+
uv run pytest tests/integration/standard/ tests/integration/cqlengine/

0 commit comments

Comments
 (0)