Skip to content

Commit

Permalink
CI: Run tests against oldest and latest supported versions of lakefs …
Browse files Browse the repository at this point in the history
…and fsspec (#293)

* feat(ci): Run tests against oldest and latest supported versions of lakefs and fsspec

* fix(ci): Improve CI workflow/job naming
  • Loading branch information
AdrianoKF authored Oct 9, 2024
1 parent 26f2153 commit b80507c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: lakefs-spec CI
name: Python

on:
push:
Expand Down Expand Up @@ -31,7 +31,14 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
name: Run tests on Python ${{ matrix.python-version }} on ${{ matrix.os }}
deps:
# Oldest supported versions
- lakefs: "lakefs==0.2.0"
fsspec: "fsspec==2023.12.0"
# Latest versions
- lakefs: "lakefs>0"
fsspec: "fsspec>0"
name: "Tests: Python ${{ matrix.python-version }}, ${{ matrix.deps.lakefs }}, ${{ matrix.deps.fsspec }} (on ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
services:
lakefs:
Expand All @@ -51,6 +58,10 @@ jobs:
uses: astral-sh/setup-uv@v3
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: "Install deps: ${{ matrix.deps.lakefs }}, ${{ matrix.deps.fsspec }}"
run: |
uv lock -P ${{ matrix.deps.lakefs }}
uv lock -P ${{ matrix.deps.fsspec }}
- name: Install the project
run: uv sync --extra dev
- name: Execute python tests
Expand Down

0 comments on commit b80507c

Please sign in to comment.