From f8fbabc10e2e4543f9c802e0f04a5bb837c85504 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 28 Apr 2024 11:23:30 +0200 Subject: [PATCH] Work around different venv folder on Windows --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d181cbd6..8f3d3fc84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -279,6 +279,9 @@ jobs: run: | # Test Python template Project python3 -m venv .venv + if [ ! -d ".venv/bin"]; then + mv .venv/Scripts .venv/bin # venv is placed under `Scripts` on Windows + fi source .venv/bin/activate pip3 install maturin maturin build -m apis/python/node/Cargo.toml