File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -211,36 +211,40 @@ jobs:
211211 runs-on : ${{ matrix.os }}
212212 steps :
213213 - uses : actions/checkout@v4
214+ - uses : actions/setup-python@v5
215+ with :
216+ python-version : ${{ matrix.python-version }}
214217 - name : clone-tea-tasting
215218 run : |
216219 git clone https://github.com/e10v/tea-tasting.git --depth=1
217220 cd tea-tasting
218221 git log
219- - name : install-pdm
220- uses : pdm-project /setup-pdm@v4
222+ - name : install-uv
223+ uses : astral-sh /setup-uv@v6
221224 with :
225+ enable-cache : true
226+ cache-suffix : ${{ matrix.python-version }}
227+ cache-dependency-glob : " pyproject.toml"
222228 python-version : ${{ matrix.python-version }}
223- cache : true
224- cache-dependency-path : tea-tasting/pdm.lock
225229 - name : install-tea-tasting-test
226230 run : |
227231 cd tea-tasting
228- pdm sync -G test
232+ uv sync --group test
229233 - name : install-narwhals-dev
230234 run : |
231235 cd tea-tasting
232- pdm remove narwhals
233- pdm add ./..
236+ uv pip uninstall narwhals
237+ uv pip install -e ./..
234238 - name : show-deps
235239 run : |
236240 cd tea-tasting
237- pdm list
241+ uv pip freeze
238242 - name : run-pytest
239243 run : |
240244 cd tea-tasting
241245 # empty pytest.ini to avoid pytest using narwhals configs
242246 touch pytest.ini
243- pdm run test
247+ uv run --no-sync pytest tests
244248
245249 # temporarily commented out until they address the `new_series` deprecation
246250 # tubular:
You can’t perform that action at this time.
0 commit comments