Skip to content

Update README.md to center Figure 1 and add installation instructions… #10

Update README.md to center Figure 1 and add installation instructions…

Update README.md to center Figure 1 and add installation instructions… #10

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
uv sync --all-extras --dev
- name: Run pytest with coverage
run: |
uv run pytest --cov=. --cov-report=xml --cov-report=term
- name: Generate coverage badge
if: matrix.python-version == '3.11'
uses: tj-actions/coverage-badge-py@v2
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
fail_ci_if_error: false