← Files Arabic DOCX RTLARCHIVED FILE

.github/workflows/quality.yml

1.6 KB · Oct 2, 2026 · 00:32 UTC

↓ Download file

name: Quality

on:
  push:
    branches: [main]
  pull_request:
  workflow_dispatch:

permissions:
  contents: read

jobs:
  verify:
    name: ${{ matrix.os }} / Python ${{ matrix.python-version }}
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest]
        python-version: ["3.10", "3.12", "3.13"]
    env:
      PYTHONDONTWRITEBYTECODE: "1"
    steps:
      - name: Check out repository
        uses: actions/checkout@v4

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.python-version }}
          cache: pip

      - name: Install dependencies
        run: python -m pip install . PyYAML

      - name: Check publication structure and privacy
        run: python scripts/check_publication.py .

      - name: Check Plugin Directory submission contract
        run: python scripts/check_plugin_submission.py .

      - name: Run publication tests
        run: python -m unittest discover -s tests -v

      - name: Run Skill tests
        run: python -m unittest discover -s skills/arabic-word-production/tests -v

      - name: Parse GitHub YAML
        shell: python
        run: |
          from pathlib import Path
          import yaml

          files = sorted(Path(".github").rglob("*.yml")) + sorted(Path(".github").rglob("*.yaml"))
          for path in files:
              with path.open("r", encoding="utf-8") as handle:
                  yaml.safe_load(handle)
          print(f"Parsed {len(files)} GitHub YAML files")

SHA-256: a87ba004b9a4c7507dd3f2454a57e46120c4fc6b17636d4a300dfb9575af786d