test(posture_check): pin the refusal corpus and use ASCII ellipsis

Add a unittest regression table for grade() and CONTRAST so the refusal
corpus is protected outside the external repro, and print "..." instead of
the Unicode ellipsis on consoles that cannot render it. Run the test in a
small python CI job.
This commit is contained in:
BaaRai
2026-11-16 18:29:12 +01:00
parent 48f7776be9
commit 6944d30ce9
3 changed files with 85 additions and 1 deletions
+9
View File
@@ -101,3 +101,12 @@ jobs:
- run: npx tsc --noEmit
- run: npm run test:polling
- run: npm run build:static
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python3 scripts/posture_check_test.py