Skip to content

Commit 626e0b5

Browse files
committed
ci: validate stdlib and structlog demo variants
1 parent e7818b3 commit 626e0b5

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/workflows/quality.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,20 @@ jobs:
2121
- run: python scripts/validate_repo.py
2222
- run: python -m unittest discover -s tests -v
2323
- run: python scripts/check_release_state.py
24+
25+
demo:
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
stack: [stdlib, structlog]
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.12'
35+
cache: pip
36+
cache-dependency-path: evals/demo/requirements-${{ matrix.stack }}.txt
37+
- run: python -m pip install -r evals/demo/requirements-${{ matrix.stack }}.txt
38+
- run: python -m unittest discover -s tests/demo -v
39+
env:
40+
DEMO_TEST_STACK: ${{ matrix.stack }}

‎just/quality.just‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ test:
1212
[doc('Run all deterministic checks')]
1313
check: validate test
1414
@python3 scripts/check_release_state.py
15+
16+
[group('Quality')]
17+
[doc('Test both generated FastAPI demo variants and the external evaluator')]
18+
demo-test:
19+
@uv run --with-requirements evals/demo/requirements-structlog.txt python -m unittest discover -s tests/demo -v

0 commit comments

Comments
 (0)