Skip to content

Commit 82af3b0

Browse files
authored
ci: test multiple python versions (#16)
* ci: test multiple python versions * fix: conditionals
1 parent af3d33d commit 82af3b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,21 @@ jobs:
1010
lint-and-test:
1111
name: Lint and test
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version:
16+
- "3.11"
17+
- "3.12"
18+
- "3.13"
1319
env:
1420
DUCKDB_LIB_DIR: /opt/duckdb
1521
LD_LIBRARY_PATH: /opt/duckdb
1622
steps:
1723
- uses: actions/checkout@v4
1824
- uses: Swatinem/rust-cache@v2
1925
- uses: astral-sh/setup-uv@v5
26+
with:
27+
python-version: ${{ matrix.python-version }}
2028
- name: Get DuckDB
2129
run: |
2230
wget https://github.com/duckdb/duckdb/releases/download/v1.2.2/libduckdb-linux-amd64.zip
@@ -32,6 +40,7 @@ jobs:
3240
- name: Build docs
3341
run: uv run mkdocs build --strict
3442
- uses: actions/upload-pages-artifact@v3
43+
if: ${{ github.ref == 'refs/heads/main' && matrix.python-version == '3.11' }}
3544
with:
3645
path: site/
3746
deploy-docs:

0 commit comments

Comments
 (0)