Skip to content

Commit

Permalink
feat(ci): Run tests against oldest and latest supported versions of l…
Browse files Browse the repository at this point in the history
…akefs and fsspec
  • Loading branch information
AdrianoKF committed Oct 9, 2024
1 parent 26f2153 commit dd29040
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
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: "==0.2.0"
fsspec: "==2023.12.0"
# Latest versions
- lakefs: ">0"
fsspec: ">0"
name: Run tests on Python ${{ matrix.python-version }} on ${{ matrix.os }} with lakefs ${{ matrix.deps.lakefs }} and fsspec ${{ matrix.deps.fsspec }}
runs-on: ${{ matrix.os }}
services:
lakefs:
Expand All @@ -51,6 +58,8 @@ jobs:
uses: astral-sh/setup-uv@v3
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install lakefs ${{ matrix.deps.lakefs }} and fsspec ${{ matrix.deps.fsspec }}
run: uv lock -P lakefs==${{ matrix.deps.lakefs }} fsspec==${{ matrix.deps.fsspec }}
- name: Install the project
run: uv sync --extra dev
- name: Execute python tests
Expand Down

0 comments on commit dd29040

Please sign in to comment.