Skip to content

Remove deprecated binaries #35

Remove deprecated binaries

Remove deprecated binaries #35

Workflow file for this run

name: Tests
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.14"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}
- name: Run tests
run: uv run pytest tests/ -v --tb=short
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-html-${{ matrix.python-version }}
path: htmlcov/
- name: Generate coverage badge
if: github.ref == 'refs/heads/main'
run: uv run genbadge coverage -i coverage.xml -o coverage.svg
- name: Commit coverage badge
if: github.ref == 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update coverage badge [skip ci]"
file_pattern: coverage.svg
skip_dirty_check: false