File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed
Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 3434 python -m pip install --upgrade pip
3535 pip install -r requirements.txt
3636 pip install pytest pytest-cov mypy
37+ - name : Run ruff (lint)
38+ run : |
39+ python -m pip install ruff
40+ python -m ruff check src/
3741 - name : Run unit tests with coverage
3842 run : |
3943 PYTHONPATH=. pytest --cov=src/ --cov-report=xml
Original file line number Diff line number Diff line change 1+ .PHONY : test lint clean
2+
3+ # Run tests using the reproducible script (creates .venv_ci)
4+ test :
5+ ./scripts/run-tests.sh
6+
7+ # Run lint and static checks
8+ lint :
9+ # Fast lint with ruff and type check with mypy
10+ python3 -m pip install --upgrade pip
11+ pip install ruff mypy
12+ python3 -m ruff check src/
13+ python3 -m mypy src/ --ignore-missing-imports
14+
15+ clean :
16+ rm -rf .venv_ci
Original file line number Diff line number Diff line change @@ -145,6 +145,29 @@ Documentation](https://github.com/SoftwareDevLabs).
145145- ` README.md ` – Project overview and usage
146146- ` Dockerfile ` – Container build instructions
147147
148+ ## Running tests
149+
150+ We provide a small helper script that creates an isolated virtualenv and runs the test suite.
151+
152+ Run the full test suite locally:
153+
154+ ``` bash
155+ ./scripts/run-tests.sh
156+ ```
157+
158+ Or run just the deepagent tests (fast):
159+
160+ ``` bash
161+ ./scripts/run-tests.sh test/unit -k deepagent
162+ ```
163+
164+ You can also use the Makefile targets:
165+
166+ ``` bash
167+ make test
168+ make lint
169+ ```
170+
148171---
149172
150173## Contributing
You can’t perform that action at this time.
0 commit comments