Skip to content

Commit

Permalink
Refactor CI workflow to remove OS-specific virtual environment activa…
Browse files Browse the repository at this point in the history
…tion and streamline pytest commands
  • Loading branch information
CarlKCarlK committed Oct 17, 2024
1 parent 3dd8760 commit 6fcb8bb
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,16 +185,6 @@ jobs:
uvx ruff@0.6.9 check .
uvx ruff@latest check . || echo "Ignoring warnings from the latest version of ruff"
uv sync --extra min_dev
if [ "$RUNNER_OS" = "Windows" ]; then
.\\..\\.venv\\Scripts\\activate
else
source ../.venv/bin/activate
fi
pytest tests/test_opt_dep.py
python -m pytest tests/test_opt_dep.py
uv sync --extra dev --extra sparse --extra samples
if [ "$RUNNER_OS" = "Windows" ]; then
.\\..\\.venv\\Scripts\\activate
else
source ../.venv/bin/activate
fi
pytest .
python -m pytest .

0 comments on commit 6fcb8bb

Please sign in to comment.