Skip to content

docs: rewrite README and add installation guide (#386) #622

docs: rewrite README and add installation guide (#386)

docs: rewrite README and add installation guide (#386) #622

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up uv with Python ${{ matrix.python-version }}
id: setup-uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
enable-cache: true
- name: Install dependencies
run: |
if [ -f pyproject.toml ]; then uv pip install -e '.[test]'; fi
- name: Test with pytest
run: |
uv run pytest tests/ --cov=src/batcontrol --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
files: ./coverage.xml
fail_ci_if_error: false