diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index c4d9d8ee..2eb6b41b 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -165,7 +165,7 @@ jobs: if [[ -f "Cargo.toml" && -f "pyproject.toml" ]]; then echo "Publishing $dir using maturin..." if [[ "${{ runner.os }}" == "Linux" ]]; then - uv pip install "maturin[zig]" + pip install "maturin[zig]" ## The CI/CD is sequential to limit the number of workers used. @@ -181,7 +181,7 @@ jobs: maturin publish --target armv7-unknown-linux-musleabihf --zig --skip-existing else - uv pip install maturin + pip install maturin maturin publish --skip-existing fi else diff --git a/.github/workflows/node_hub_test.sh b/.github/workflows/node_hub_test.sh index ae7e119d..dbeb478b 100755 --- a/.github/workflows/node_hub_test.sh +++ b/.github/workflows/node_hub_test.sh @@ -22,7 +22,7 @@ else cargo build cargo test - uv pip install "maturin[zig]" + pip install "maturin[zig]" maturin build --zig # aarch64-unknown-linux-gnu @@ -42,9 +42,10 @@ else else if [ -f "$dir/pyproject.toml" ]; then echo "Running linting and tests for Python project in $dir..." + uv venv uv pip install . - ruff check . - pytest + uv run ruff check . + uv run pytest fi fi fi