semantics: run the generator unit tests in CI and fail clearly below Python 3.11 (#215)

Align the merged generator tests with the pinned documents and the
complete unsupported list, add tests for the rules added after review,
run them in the existing CI step next to the coverage tests, and give
the coverage script the same explicit Python 3.11 error as the
generator instead of a traceback.

Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com>
This commit is contained in:
elforeign committed 2026-11-24 03:40:52 -06:00
1 parent b541dce0cc
commit dffa50cd9c
3 files changed
+37 -5

No files matched your search

+4 -2
View File
@@ -50,8 +50,10 @@ jobs:
sh -n scripts/agent-queue.sh scripts/agent-sync.sh
- name: Test pull request template check
run: PYTHONPATH=scripts python3 -m unittest discover -s tests/pr_template
- name: Test semantic coverage report
run: PYTHONPATH=scripts python3 -m unittest discover -s tests/semantic_coverage
- name: Test semantic registry generator and coverage report
run: |
python3 -m unittest discover -s tests/semantics_generator
PYTHONPATH=scripts python3 -m unittest discover -s tests/semantic_coverage
- name: Check formatting and lint
run: |
cargo fmt --all -- --check