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"