Skip to content
Merged
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
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,16 @@ jobs:
restore-keys: |
${{ runner.os }}-uv-${{ matrix.python-version }}-

- name: Create virtual environment
run: uv venv

- name: Install dependencies from lockfile
run:
uv pip install -e ".[dev]" && pip install coverage && uv pip install coverage
run: uv sync --locked --all-extras --python ${{ matrix.python-version }}

- name: Run linting and tests
run: |
make lint
make coverage
run: make "PYTHON_RUNNER=uv run --no-sync --python ${{ matrix.python-version }} python" lint coverage
shell: bash

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ If you have code to contribute, please submit it as a Pull Request (PR).

## Development Setup

We use `uv` for package and environment management. The easiest way to get started is with `make`.
We use `uv` for package and environment management. Use Python 3.11.5 or later with the development lockfile.
The easiest way to get started is with `make`.

1. **Clone the repository:**
```bash
Expand Down Expand Up @@ -123,4 +124,4 @@ All new features and bug fixes **must** be accompanied by corresponding tests to

---

Thank you again for your interest in contributing!
Thank you again for your interest in contributing!
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ docs = [
# Tool Configuration
# ==============================================================================

[tool.uv]
# The fixed Soup Sieve releases used by the docs require Python 3.11.5 or later.
environments = ["python_full_version >= '3.11.5'"]

[tool.ruff]
line-length = 120
exclude = [
Expand Down Expand Up @@ -117,4 +121,4 @@ omit = [

[tool.coverage.report]
fail_under = 85
show_missing = true
show_missing = true
Loading
Loading