mirror of
https://github.com/efremidze/swift-architecture-skill.git
synced 2026-09-14 20:49:06 +08:00
4b97007864
Co-authored-by: Claude <noreply@anthropic.com>
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-swift-snippets:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Validate Swift 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
|