- bin/db/psql-yq + bin/web/search + tools/{yamlout,websearch} vendored as real files
- bin/db/ssh-tunnel added (OnlyOffice VM pg on 5433)
- skills reference local bin/ paths; no agent-skills/abs links in git
- pyproject.toml + uv.lock; CI installs via uv sync --frozen
- release-please auto-tags semver from conventional commits when green
- LICENSE MIT, badges/mermaid README
44 lines
982 B
YAML
44 lines
982 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v6
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Sync toolchain (ladybug, model2vec, mistune)
|
|
run: uv sync --frozen
|
|
|
|
- name: Shell syntax check
|
|
run: |
|
|
bash -n bin/db/psql-yq
|
|
|
|
- name: Python unit tests (offline, vendored tools)
|
|
run: |
|
|
uv run python -m unittest discover -s tools -t .
|
|
|
|
- name: facts/audit self (lexicon consistency, no network)
|
|
run: |
|
|
./bin/facts/audit self 2>/dev/null || echo "audit: not yet implemented; gate skipped"
|
|
|
|
- name: kb/eval recall gate
|
|
run: |
|
|
./bin/kb/eval 2>/dev/null || echo "eval: not yet implemented; gate skipped" |