Skip to content

Commit 5c97c78

Browse files
arnesundclaude
andcommitted
Fix virtual environment setup in CI/CD and README
- Update GitHub Actions workflow to properly setup virtual environment - Update README with correct venv activation instructions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e5d94ed commit 5c97c78

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
2828
- name: Install dependencies
2929
run: |
30+
uv venv
31+
. .venv/bin/activate
3032
uv pip install -e .
3133
uv pip install pytest pytest-cov pytest-asyncio pytest-mock
3234
@@ -38,6 +40,7 @@ jobs:
3840
3941
- name: Run tests
4042
run: |
43+
. .venv/bin/activate
4144
pytest --cov=. --cov-report=xml
4245
4346
- name: Upload coverage report

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ uv run chainlit run chainlit_app.py --host 0.0.0.0
5757
The project uses pytest for testing. To run the tests:
5858

5959
```
60-
# Install test dependencies
60+
# Create virtual environment and install test dependencies
61+
uv venv
62+
. .venv/bin/activate
6163
uv pip install -e .
6264
uv pip install pytest pytest-cov pytest-asyncio pytest-mock
6365

0 commit comments

Comments
 (0)