pogo-scaled-estimators/.gitea/workflows/ci.yaml

25 lines
516 B
YAML
Raw Permalink Normal View History

name: Continuous integration
on:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set up Python
uses: https://github.com/actions/setup-python@v5
with:
python-version: 3.12
- name: Install Hatch
run: pip install hatch
- name: Run static analysis
run: hatch run lint-check
- name: Check types
run: hatch run types-check
- name: Run tests
run: hatch run test