Skip to content

Commit

Permalink
Try uv
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogeiger committed Jan 13, 2025
1 parent 532368f commit 7153f43
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/doc_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install ./cuequivariance
python -m pip install ./cuequivariance_jax
python -m pip install ./cuequivariance_torch
pip install -r docs/requirements.txt
python -m pip install --upgrade uv
python -m uv pip install pytest
python -m uv pip install ./cuequivariance
python -m uv pip install ./cuequivariance_jax
python -m uv pip install ./cuequivariance_torch
python -m uv pip install -r docs/requirements.txt
- name: Build sphinx
run: |
sphinx-build -b html docs docs/public
11 changes: 6 additions & 5 deletions .github/workflows/doc_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install ./cuequivariance
python -m pip install ./cuequivariance_jax
python -m pip install ./cuequivariance_torch
pip install -r docs/requirements.txt
python -m pip install --upgrade uv
python -m uv pip install pytest
python -m uv pip install ./cuequivariance
python -m uv pip install ./cuequivariance_jax
python -m uv pip install ./cuequivariance_torch
python -m uv pip install -r docs/requirements.txt
- name: Build sphinx
run: |
sphinx-build -b html docs docs/public
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff==0.8.2
python -m pip install --upgrade uv
python -m uv pip install ruff==0.8.2
- name: Style check
run: |
ruff check cuequivariance
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install ./cuequivariance
python -m pip install --upgrade uv
python -m uv pip install pytest
python -m uv pip install ./cuequivariance
- name: Test with pytest
run: |
pytest --doctest-modules -x cuequivariance
Expand All @@ -48,9 +49,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install ./cuequivariance
python -m pip install ./cuequivariance_jax
python -m pip install --upgrade uv
python -m uv pip install pytest
python -m uv pip install ./cuequivariance
python -m uv pip install ./cuequivariance_jax
- name: Test with pytest
run: |
pytest --doctest-modules -x cuequivariance_jax
Expand Down Expand Up @@ -78,9 +80,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest torch e3nn
python -m pip install ./cuequivariance
python -m pip install ./cuequivariance_torch
python -m pip install --upgrade uv
python -m uv pip install pytest torch e3nn
python -m uv pip install ./cuequivariance
python -m uv pip install ./cuequivariance_torch
- name: Test with pytest
run: |
pytest --doctest-modules -x cuequivariance_torch

0 comments on commit 7153f43

Please sign in to comment.