Skip to content

Commit

Permalink
Fix windows install path
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Liu <[email protected]>

Fix windows install path

Signed-off-by: Austin Liu <[email protected]>
  • Loading branch information
austin362667 committed Oct 15, 2024
1 parent 91b8ffe commit a690957
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,13 @@ jobs:
else
source ./venv/bin/activate
fi
VCPKGRS_DYNAMIC=1 maturin build --release --out ${{ github.workspace }}/dist --interpreter python${{ matrix.python-version }} -m ./Cargo.toml
VCPKGRS_DYNAMIC=1 maturin build --release --out dist --interpreter python${{ matrix.python-version }} -m ./Cargo.toml
- name: Install built wheel and Test with coverage
shell: bash
working-directory: ${{ github.workspace }}/flyte/flyteidl
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
out_dir="${{ github.workspace }}\\dist"
else
out_dir="${{ github.workspace }}/dist"
fi
uv pip install --system flyteidl-rust --no-index --find-links "$out_dir" --force-reinstall
uv pip freeze
pip install dist/*.whl --no-index --force-reinstall
pip freeze
python -c "import flyteidl_rust"
make unit_test_codecov
- name: Codecov
Expand Down

0 comments on commit a690957

Please sign in to comment.