mirror of
https://github.com/efremidze/swift-architecture-skill.git
synced 2026-09-14 20:49:06 +08:00
3a998f6407
Move the evals/ and scripts/ trees into tooling/ (tooling/evals, tooling/scripts) and update all references accordingly. Adjusted CI workflow, docs (AGENTS.md, CONTRIBUTING.md, evals README), manifests and runner scripts to use the new paths, updated .gitignore, and fixed script path resolution (parents index and ROOT_DIR adjustments) so tooling runs and validations continue to work from their new location.
100 lines
2.2 KiB
YAML
100 lines
2.2 KiB
YAML
name: Validate Skill
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Install skills-ref CLI
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install "git+https://github.com/agentskills/agentskills.git#subdirectory=skills-ref"
|
|
|
|
- name: Validate Skill
|
|
run: |
|
|
python -m skills_ref.cli validate ./swift-architecture-skill
|
|
|
|
validate-testing-snippets:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Validate Swift Testing Snippets
|
|
run: |
|
|
./tooling/scripts/validate/testing-snippets.sh
|
|
|
|
validate-testing-quality:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Validate Testing Quality Contract
|
|
run: |
|
|
python3 ./tooling/scripts/validate/testing-quality.py
|
|
|
|
validate-testing-benchmarks:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Run Testing Benchmark Suite
|
|
run: |
|
|
./tooling/scripts/run/benchmarks.py
|
|
|
|
validate-benchmark-coverage:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Validate Benchmark Coverage
|
|
run: |
|
|
python3 ./tooling/scripts/validate/benchmark-coverage.py
|
|
|
|
validate-realworld-corpus:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Run Real-World Corpus Eval
|
|
run: |
|
|
python3 ./tooling/scripts/run/corpus.py
|
|
|
|
validate-architecture-consistency:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Validate Architecture Consistency
|
|
run: |
|
|
python3 ./tooling/scripts/validate/architecture.py
|