Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: clarify spec-driven development is mandatory for all AI agents #214

docs: clarify spec-driven development is mandatory for all AI agents

docs: clarify spec-driven development is mandatory for all AI agents #214

Workflow file for this run

name: Tests
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Optimized matrix: Ubuntu-only, actively maintained Python versions
# Total: 3 jobs (dropped Windows due to slow builds and limited test suite)
os: [ubuntu-latest]
python-version: ['3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Install package
run: uv pip install -e .
- name: Run tests
run: uv run pytest -v -m 'not slow' --cov=doctk --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
fail_ci_if_error: false