Skip to content

Commit

Permalink
use new uv package manager to install deps in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Feb 29, 2024
1 parent 3bc34b5 commit 9f6dd8c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 9f6dd8c

Please sign in to comment.