Skip to content

feat: add autonomous learning controller (#7) #17

feat: add autonomous learning controller (#7)

feat: add autonomous learning controller (#7) #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: python -m pip install -e '.[dev]'
- name: Run tests
run: python -m pytest tests/ -q
- name: Compile check
run: python -m compileall skillloop tests -q
- name: Packaging check
run: python -m pip wheel . --no-deps -w /tmp/skillloop-wheel-check
- name: Smoke test CLI workflow
run: |
tmp=$(mktemp -d)
cp -R examples "$tmp/"
python -m skillloop.cli --path "$tmp" init
python -m skillloop.cli --path "$tmp" ingest generic "$tmp/examples/traces/simple_trace.jsonl"
python -m skillloop.cli --path "$tmp" traces list
python -m skillloop.cli --path "$tmp" eval latest
python -m skillloop.cli --path "$tmp" distill latest
python -m skillloop.cli --path "$tmp" review list --verbose
python -m skillloop.cli --path "$tmp" export sft --out "$tmp/sft.jsonl"
test -s "$tmp/sft.jsonl"