Files
python-learning/.gitea/workflows/test-and-lint.yaml
2026-12-02 16:58:44 +01:00

32 lines
629 B
YAML

name: Test and Lint
on:
push:
branches:
- main
- "attempt/*"
pull_request:
branches:
- main
jobs:
quality:
runs-on: fedora
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build container image
run: make image
- name: Check formatting (ruff format)
run: make fmt-check
- name: Lint and typecheck (ruff + mypy)
run: make check
- name: Run test suite progress report (attempt branches)
if: startsWith(github.ref, 'refs/heads/attempt/')
continue-on-error: true
run: make test-all