mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-19 06:30:54 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user