Skip to content

fix: NFR review findings — error-path hardening + protocol/contract test coverage #1

fix: NFR review findings — error-path hardening + protocol/contract test coverage

fix: NFR review findings — error-path hardening + protocol/contract test coverage #1

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and test tooling
run: |
python -m pip install --upgrade pip
pip install -e .
pip install --group dev
- name: Run tests with coverage
# No --cov-fail-under yet: establish the baseline first, then ratchet
# the gate up instead of picking an aspirational number that blocks CI.
run: |
pytest -q --cov=agentkit --cov-report=term --cov-report=xml
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}
path: coverage.xml