Skip to content

Commit 7ff977e

Browse files
authored
Merge pull request #231 from ChBrain/governance/wire-review-command-tests
ci: run review-command parser tests in validate.yml
2 parents 48617f0 + 15ba53f commit 7ff977e

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/validate.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,26 @@ jobs:
425425
- name: Run audit_readme_bands tests
426426
run: python -m pytest tests/test_audit_readme_bands.py -v
427427

428+
cultures-review-command-tests:
429+
name: cultures - Review command parser tests
430+
# Unit-test gate for scripts/parse_review_command.py (the /review
431+
# PR-comment command grammar consumed by prose-review-on-comment.yml).
432+
# Pins the mode/errors contract and the culture_*.md path-safety rules
433+
# (traversal, absolute and backslash paths are rejected). Mirrors the
434+
# cultures-audit-readme-bands-tests pattern: independent, always runs,
435+
# no culture-file dependency.
436+
runs-on: ubuntu-latest
437+
steps:
438+
- uses: actions/checkout@v4
439+
- name: Set up Python
440+
uses: actions/setup-python@v5
441+
with:
442+
python-version: '3.11'
443+
- name: Install pytest
444+
run: pip install pytest
445+
- name: Run review-command parser tests
446+
run: python -m pytest tests/test_review_command.py -v
447+
428448
cultures-hofstede-readme-updater-tests:
429449
name: cultures - Hofstede README updater tests
430450
# Unit-test gate for scripts/update_hofstede_readme.py (deterministic

.validation-stamp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1d509f10731cf6c7cb9e8dd46019d62b6c7d008c
1+
b60250d8c7774462a872e13d4c7da290752e6d4a

0 commit comments

Comments
 (0)