Skip to content

Use ~/.local source for SKILL.md instead of copying to ~/.config (#10) #103

Use ~/.local source for SKILL.md instead of copying to ~/.config (#10)

Use ~/.local source for SKILL.md instead of copying to ~/.config (#10) #103

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
broker-cli-smoke:
name: "🐍 Broker CLI Smoke"
runs-on: ubuntu-latest
env:
BROKER_LAUNCH_IB: "0"
steps:
- name: "πŸ“₯ Checkout"
uses: actions/checkout@v4
- name: "🐍 Setup Python 3.12"
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: "⚑ Setup uv"
uses: astral-sh/setup-uv@v5
- name: "πŸ“¦ Install broker Python packages"
run: |
uv venv --python 3.12 --seed --allow-existing
.venv/bin/python -m pip install -e './daemon[dev]' -e './sdk/python[dev]' -e './cli[dev]'
- name: "πŸ§ͺ Run broker --help smoke check"
run: .venv/bin/broker --help
broker-python-tests:
name: "🐍 PyTest β€’ ${{ matrix.suite_name }}"
runs-on: ubuntu-latest
env:
BROKER_LAUNCH_IB: "0"
strategy:
fail-fast: false
matrix:
include:
- suite_name: "daemon"
suite_path: "daemon/tests"
- suite_name: "cli"
suite_path: "cli/tests"
- suite_name: "sdk-python"
suite_path: "sdk/python/tests"
steps:
- name: "πŸ“₯ Checkout"
uses: actions/checkout@v4
- name: "🐍 Setup Python 3.12"
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: "⚑ Setup uv"
uses: astral-sh/setup-uv@v5
- name: "πŸ“¦ Install broker Python packages"
run: |
uv venv --python 3.12 --seed --allow-existing
.venv/bin/python -m pip install -e './daemon[dev]' -e './sdk/python[dev]' -e './cli[dev]'
- name: "πŸ§ͺ Run pytest (${{ matrix.suite_name }})"
run: .venv/bin/python -m pytest "${{ matrix.suite_path }}" -q
typescript-typecheck:
name: "🧩 TypeScript SDK Typecheck"
runs-on: ubuntu-latest
steps:
- name: "πŸ“₯ Checkout"
uses: actions/checkout@v4
- name: "πŸ₯Ÿ Setup Bun"
uses: oven-sh/setup-bun@v2
- name: "πŸ“¦ Install dependencies"
run: cd sdk/typescript && bun install
- name: "πŸ§ͺ Run typecheck"
run: cd sdk/typescript && bun run typecheck
shell-script-syntax:
name: "🐚 Shell Script Syntax"
runs-on: ubuntu-latest
steps:
- name: "πŸ“₯ Checkout"
uses: actions/checkout@v4
- name: "πŸ§ͺ Validate bash syntax"
run: find . -type f -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 -n1 bash -n