Skip to content

Add hatch and update workflows #8

Add hatch and update workflows

Add hatch and update workflows #8

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
workflow_call:
workflow_dispatch:
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
test:
name: Test for Python and Django versions
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
- name: Install Hatch
uses: pypa/hatch@a3c83ab3d481fbc2dc91dd0088628817488dd1d5
- name: Run static analysis
run: hatch fmt --check
- name: Run tests
run: hatch test --all