Skip to content

fix: pylint issues #331

fix: pylint issues

fix: pylint issues #331

Workflow file for this run

name: pytest
on: [push, workflow_dispatch]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync --dev
- name: Build Rust extension
run: uv run maturin develop
- name: Rust unit tests
run: uv run cargo test --lib
- name: Python tests with coverage
run: uv run coverage run --branch -m pytest tests/
- name: Generate coverage report
run: uv run coverage html
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report-${{ matrix.os }}
path: htmlcov/*