Skip to content

Commit

Permalink
uv run, uniformity of step definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Nov 4, 2024
1 parent f2608de commit a42075d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,22 @@ jobs:

- name: Ensure wheel and sdist can be built on Linux - PyVortex
run: |
cd pyvortex && uv run maturin build --interpreter python3.10 --sdist
uv run maturin build --interpreter python3.10 --sdist
working-directory: pyvortex/

- name: Ensure wheel can run tests successfully
run: |
set -ex
echo creating a fresh venv to ensure wheel dependencies are correct
echo creating a fresh venv which does *not* have the normal dependencies to ensure the wheel dependencies are correct
rm -rf .venv
uv sync --only-dev
pip install target/wheels/vortex_array-*.whl || { pip debug --verbose ; exit 1 ; }
pip install pytest
cd pyvortex/test && pytest
uv run pip install target/wheels/vortex_array-*.whl || { uv run pip debug --verbose ; exit 1 ; }
uv run pip install pytest
cd pyvortex/test
uv run pytest
rust-docs:
name: "Rust (docs)"
Expand Down

0 comments on commit a42075d

Please sign in to comment.