You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove extra venv directory
- Update README with clear venv instructions
- Add warnings about using correct venv
- Document virtual environment setup
- Clarify development workflow
- Add tips for dependency management
This change ensures consistent test execution by
standardizing on .venv as the only virtual environment.
2. Run the setup script (creates `.venv` and installs dependencies):
104
+
```bash
105
+
./setup.sh
106
+
```
107
+
108
+
3. Activate the virtual environment:
109
+
```bash
110
+
source .venv/bin/activate # On Unix/macOS
111
+
# or
112
+
.venv\Scripts\activate # On Windows
113
+
```
114
+
115
+
4. Run the tests:
116
+
```bash
117
+
pytest tests/ -v # Run all tests
118
+
pytest tests/ -m smoke # Run smoke tests only
119
+
```
120
+
121
+
⚠️ Important: Always use the `.venv` virtual environment. This is the standard environment used by our CI/CD workflow and ensures consistent test execution across all environments.
122
+
123
+
## 🛠️ Development Setup
124
+
125
+
1. Ensure you're using the correct virtual environment:
126
+
```bash
127
+
# You should see (.venv) in your prompt
128
+
# If not, activate it:
129
+
source .venv/bin/activate
130
+
```
131
+
132
+
2. Verify your setup:
133
+
```bash
134
+
python --version # Should match version in .github/workflows/ci.yml
0 commit comments