Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,18 +256,17 @@ export UV_LINK_MODE=copy

### Running tests

Make sure your virtual environment is activated, then run:
Make sure your virtual environment is activated. It's recommended to run `pytest` as a module with `python -m pytest` to ensure the Python path is set up correctly, especially for editable installs:

```bash
# Run all tests
pytest
python -m pytest

# Run with verbose output
pytest -v
python -m pytest -v

# Run with coverage information
pytest --cov=pydantic_prompt
```
python -m pytest --cov=pydantic_prompt

### Code formatting and linting

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
dependencies = [
"pydantic>=2.0.0",
]
requires-python = ">=3.11"
requires-python = ">=3.10"

[project.optional-dependencies]
dev = [
Expand Down
Loading