Skip to content

Add agent context analysis harness #5

Add agent context analysis harness

Add agent context analysis harness #5

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 32, Col: 1): 'name' is already defined, (Line: 34, Col: 1): 'on' is already defined, (Line: 40, Col: 1): 'jobs' is already defined
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Set up Python
run: uv python install ${{ matrix.python-version }}
- name: Run smoke tests
run: uv run --python ${{ matrix.python-version }} --with pytest pytest tests/test_smoke.py -v
- name: Smoke test CLI help
run: uv run --python ${{ matrix.python-version }} context-profiler --help
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest
- name: Run tests
run: pytest tests/ -v
- name: Verify CLI entry point
run: context-profiler --help