docs(readme): clarify LLM extractor returns line ranges, not generate… #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| cache: pip | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: sudo apt-get update && sudo apt-get install -y mandoc | |
| - run: pip install -r requirements-dev.txt | |
| - run: npm ci | |
| - run: npx playwright install --with-deps chromium | |
| - run: make tests-all | |
| image-size: | |
| name: Check Docker image size | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: docker build -t size-check . | |
| - run: | | |
| MAX_MB=400 | |
| SIZE=$(docker image inspect size-check --format '{{.Size}}') | |
| SIZE_MB=$((SIZE / 1048576)) | |
| echo "Image size: ${SIZE_MB}MB (max: ${MAX_MB}MB)" | |
| if [ "$SIZE_MB" -gt "$MAX_MB" ]; then | |
| echo "::error::Docker image size ${SIZE_MB}MB exceeds ${MAX_MB}MB limit" | |
| exit 1 | |
| fi |