Skip to content

Commit f5d40aa

Browse files
committed
fix: add virtual environment creation and activation to GitHub Actions workflow
1 parent 5ae6e10 commit f5d40aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ jobs:
1919
curl -LsSf https://astral.sh/uv/install.sh | sh
2020
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
2121
22-
- name: Install dependencies
22+
- name: Create virtual environment and install dependencies
2323
run: |
24+
uv venv
25+
. .venv/bin/activate
2426
uv pip install -e ".[dev]"
2527
2628
- name: Run tests
2729
run: |
30+
. .venv/bin/activate
2831
uv run pytest tests/ -v

0 commit comments

Comments
 (0)