chore: regenerate consolidated records JSON (#300) #505
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: Tests | |
| on: | |
| push: | |
| branches: ["main", "develop"] | |
| pull_request: | |
| branches: ["main", "develop"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Validate all records against the schema | |
| run: python scripts/validate_records.py | |
| - name: Validate all crosswalks against the crosswalk schema | |
| run: python scripts/validate_crosswalks.py | |
| - name: Check every record has positive and negative conformance fixtures | |
| run: python scripts/check_fixtures.py | |
| - name: Confidence signal soft warning (issue #98 consumer check) | |
| run: python scripts/check_confidence_signal.py | |
| - name: Capability-vulnerability taxonomy soft warning | |
| run: python scripts/check_vulnerability_taxonomy.py | |
| - name: docs/terms.md matches the live schema (hard failure) | |
| run: python scripts/check_terms_sync.py | |
| - name: Run tests | |
| run: pytest tests/ -x -q |