Files
kaizen-agentic/.gitea/workflows/ci.yml
tegwick 2a03eed012
Some checks failed
ci / test (3.12) (push) Has been cancelled
ci / test (3.10) (push) Has been cancelled
fix: Gitea Actions use haskelseed runner and PACKAGE_* secrets
ubuntu-latest never matched the self-hosted runner; Gitea also rejects
GITEA_-prefixed secret names. Wire publish workflow to PACKAGE_USER/TOKEN.
2026-06-16 03:13:01 +02:00

35 lines
828 B
YAML

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: haskelseed
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dev tools
run: python -m pip install --upgrade pip && python -m pip install -e ".[dev]"
- name: Format check (black)
run: black --check src tests
- name: Lint (flake8)
run: pip install flake8 && flake8 src/ --max-line-length=100
- name: Run tests
run: pytest tests/ -q --ignore=tests/test_cli_error_handling.py