Skip to content

Clean documentation #271

Clean documentation

Clean documentation #271

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.14"
- name: Install dependencies
run: |
make build
- name: Run unit tests with coverage
run: |
uv run pytest -n auto --cov --cov-branch --cov-report=xml -m "not integration"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run unit tests for Codecov
run: |
uv run pytest -n auto --cov --junitxml=junit.xml -m "not integration"
- name: Upload test results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: junit.xml