Skip to content

Commit

Permalink
Fix CI workflow to correctly activate virtual environment for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlKCarlK committed Oct 17, 2024
1 parent 24274fe commit 4b3d5e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ jobs:
uvx [email protected] check .
uvx ruff@latest check . || echo "Ignoring warnings from the latest version of ruff"
uv sync --extra min_dev
[ "$RUNNER_OS" = "Windows" ] && call .\\..\\.venv\\Scripts\\activate || source ../.venv/bin/activate
[ "$RUNNER_OS" = "Windows" ] && .\\..\\.venv\\Scripts\\activate || source ../.venv/bin/activate
pytest tests/test_opt_dep.py
uv sync --extra dev --extra sparse --extra samples
[ "$RUNNER_OS" = "Windows" ] && call .\\..\\.venv\\Scripts\\activate || source ../.venv/bin/activate
pytest .
[ "$RUNNER_OS" = "Windows" ] && .\\..\\.venv\\Scripts\\activate || source ../.venv/bin/activate
pytest .

0 comments on commit 4b3d5e6

Please sign in to comment.