Skip to content

Add FSMModelMixin to exports in __init__.py (#126) #332

Add FSMModelMixin to exports in __init__.py (#126)

Add FSMModelMixin to exports in __init__.py (#126) #332

Workflow file for this run

name: Coverage
on:
pull_request:
push:
branches:
- main
jobs:
coverage:
name: Check coverage
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install graphviz
run: |
sudo apt-get update
sudo apt-get install -y graphviz
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install requirements
run: uv sync
- name: Run tests
run: uv run coverage run -m pytest --cov=django_fsm --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}