Merge pull request #698 from dcellison/texts/certify-babel-text #1465
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: validate | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install validation dependencies | |
| run: python3 -m pip install --requirement project/requirements.txt | |
| - name: Validate lexicon and examples | |
| run: python3 scripts/validate_examples.py | |
| - name: Parse complete Phi sentences | |
| run: | | |
| python3 scripts/validate_sentences.py | |
| python3 scripts/test_sentence_validator.py | |
| - name: Test vocabulary schema | |
| run: python3 scripts/test_vocabulary_schema.py | |
| - name: Check content vocabulary decisions | |
| run: | | |
| python3 scripts/content_vocabulary_decisions.py --check | |
| python3 scripts/test_content_vocabulary_decisions.py | |
| - name: Test productive name forms | |
| run: python3 scripts/test_name_forms.py | |
| - name: Test translation layer isolation | |
| run: | | |
| python3 scripts/test_translation_layers.py | |
| python3 scripts/translation_process_status.py --check | |
| python3 scripts/test_translation_process_status.py | |
| - name: Check phonetic-neighbor baseline is in sync | |
| run: | | |
| python3 scripts/audit_phonetic_neighbors.py --output /tmp/phonetic_neighbors_baseline.txt | |
| diff -u documents/validation/phonetic_neighbors_baseline.txt /tmp/phonetic_neighbors_baseline.txt | |
| - name: Check generated reference is in sync with vocabulary | |
| run: | | |
| python3 scripts/generate_reference.py | |
| git diff --exit-code manual/part7_reference/lexicon manual/part7_reference/compounds.md |