docs: update plugin version badge from v1.0.5 to v1.2.0 #78
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-schemas: | |
| name: Validate YAML schemas | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install pyyaml | |
| - name: Validate ontology graph | |
| run: python tools/validate_ontology.py | |
| - name: Validate workflows | |
| run: python tools/validate_workflows.py | |
| - name: Validate domain profiles | |
| run: python tools/validate_profiles.py | |
| - name: Validate skill references | |
| run: python tools/validate_skill_refs.py | |
| lint: | |
| name: Lint & type-check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| pip install -e ".[dev]" | |
| - name: Ruff check | |
| run: ruff check grounded_agency/ tests/ tools/ scripts/ benchmarks/ | |
| - name: Ruff format check | |
| run: ruff format --check grounded_agency/ tests/ benchmarks/ | |
| - name: Mypy type check | |
| run: mypy grounded_agency/ | |
| test: | |
| name: Tests (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Run tests | |
| run: pytest tests/ -v --tb=short | |
| benchmarks: | |
| name: Benchmark validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Run benchmark tests | |
| run: pytest benchmarks/tests/ -v --tb=short | |
| - name: Run benchmark suite | |
| run: python benchmarks/runner.py --report --format json --output benchmarks/results/benchmark_results.json | |
| - name: Upload benchmark results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: benchmark-results | |
| path: benchmarks/results/benchmark_results.json | |
| - name: Validate benchmark deps against ontology | |
| run: python tools/validate_benchmark_deps.py | |
| conformance: | |
| name: Conformance tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install pyyaml | |
| - name: Run conformance tests | |
| run: python scripts/run_conformance.py | |
| - name: Upload conformance results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: conformance-results | |
| path: build/conformance_results.json | |
| if-no-files-found: warn |