This repository was archived by the owner on May 26, 2026. It is now read-only.
refactor: consolidate reference-impl into cli #98
Workflow file for this run
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: Validate ACS Examples | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-examples: | |
| name: Validate example projects | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: "3.12" } | |
| - run: pip install pyyaml | |
| - name: Validate example projects | |
| run: | | |
| failed=0 | |
| for dir in examples/*/; do | |
| echo "Checking $dir" | |
| if [ -f "$dir/.agents/main.yaml" ]; then | |
| echo "Validating $dir" | |
| python cli/src/lib/acs_validator.py "$dir" || failed=1 | |
| else | |
| echo "Skipping $dir (no .agents/main.yaml)" | |
| fi | |
| done | |
| exit $failed | |
| test-python: | |
| name: Python validator tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: "3.12" } | |
| - run: pip install pyyaml pytest | |
| - run: pytest tests/python/ -v | |
| test-typescript: | |
| name: TypeScript validator tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: { node-version: "20" } | |
| - run: cd cli && npm install | |
| - run: npm test -- tests/ |