Skip to content

release: prepare v0.2.0 candidate #40

release: prepare v0.2.0 candidate

release: prepare v0.2.0 candidate #40

Workflow file for this run

name: collection-quality
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Run collection and package checks (cross-platform python)
shell: bash
run: |
set -euo pipefail
python -m unittest discover -s tests -p "test_*.py"
python -m compileall -q skills tests
for f in \
skills/ask-light/tests/test_ask_light_contract.py \
skills/kb-init/tests/test_kb_init_contract.py \
skills/project-init/tests/test_project_init_contract.py \
skills/project-init/tests/test_project_init_behavior.py \
skills/language-learning/tests/test_language_learning_contract.py \
skills/kanban-worker/tests/test_kanban_worker_contract.py \
skills/kanban-worker/tests/test_kanban_worker_behavior.py \
skills/review-loop/tests/test_review_loop_contract.py \
skills/review-loop/tests/test_review_loop_behavior.py \
; do
python "$f"
done
- name: Run ask-light router behavior
shell: bash
run: |
set -euo pipefail
python skills/ask-light/tests/test_ask_light_behavior.py
- name: Retired package boundary
shell: bash
run: |
set -euo pipefail
hits=$(grep -rn --include="*" -E "project-workflow|to-manuscript-spec" skills/ || true)
if [ -n "$hits" ]; then
echo "Retired package references remain under skills/:"
echo "$hits"
exit 1
fi
- name: No PowerShell test files remain
shell: bash
run: |
set -euo pipefail
count=$(find . -path "*/tests/*.ps1" -not -path "./.git/*" | wc -l | tr -d " ")
if [ "$count" -ne 0 ]; then
echo "PowerShell test files still present: $count"
find . -path "*/tests/*.ps1" -not -path "./.git/*"
exit 1
fi