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
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04-arm
- os: windows-latest
- os: macos-latest
Expand All @@ -58,6 +57,27 @@ jobs:
- uses: ./.github/actions/setup_rye
- run: rye test -a

pytest-cov:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5

- name: Setup rye
uses: ./.github/actions/setup_rye

- name: Run tests
run: rye test -a -- --cov --cov-branch --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

docs:
name: Documentation build
runs-on: ubuntu-latest
Expand All @@ -78,6 +98,7 @@ jobs:
- pre-commit
- mypy
- pytest
- pytest-cov
- docs

runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ requirements-dev.lock

# rye is the primary tool, uv is only used for on-the-fly setups
uv.lock

# coverage files
.coverage
coverage.xml
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ repos:
hooks:
- id: taplo-format
# lint fetches schemas online at each call, deactivate for now
- id: taplo-lint
# - id: taplo-lint # excluded because json is fetched online and not reachable (503)