From 9f6dd8c112b82b0f191f961273df0ef2f89a6f46 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Thu, 29 Feb 2024 13:16:51 +0100 Subject: [PATCH] use new uv package manager to install deps in CI --- .github/workflows/test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e176e87..6968177b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,14 +33,17 @@ jobs: cache: pip cache-dependency-path: pyproject.toml + - name: Install uv (Unix) + run: curl -LsSf https://astral.sh/uv/install.sh | sh + - name: Install dependencies run: | - pip install cython + uv pip install cython --system # install ase from main branch until FrechetCellFilter is released - # TODO remove pip install git+https://gitlab.com/ase/ase - pip install git+https://gitlab.com/ase/ase + # TODO remove uv pip install git+https://gitlab.com/ase/ase + uv pip install git+https://gitlab.com/ase/ase --system python setup.py build_ext --inplace - pip install -e .[test] + uv pip install -e .[test] --system - name: Run Tests run: pytest --capture=no --cov --cov-report=xml .