mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 20:10:44 +00:00
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:
1 parent
b541dce0cc
commit
dffa50cd9c
3 files changed
+37
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user