32 lines
629 B
YAML
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
|