Files
mdaleo404 62d505a17e Slim CI to a single PR job and fix environment-dependent tests
- Consolidate workflow into one job (Python 3.11/3.13), drop pip-audit,
  package build, and best-effort integration tests
- Make helper-ownership tests root-safe and the timefmt zone test
  deterministic across host timezones
2026-09-25 11:43:55 +01:00

30 lines
657 B
YAML

name: CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install project and tooling
run: pip install -e . pytest mypy pre-commit
- name: Lint and typecheck
if: matrix.python-version == '3.13'
run: |
pre-commit run --all-files --color always
mypy
- name: Unit and security tests
run: pytest tests/unit tests/security