Skip to content

docs: track headroom 0.25.0 (abi3 Python support) and document HF_TOK… #23

docs: track headroom 0.25.0 (abi3 Python support) and document HF_TOK…

docs: track headroom 0.25.0 (abi3 Python support) and document HF_TOK… #23

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
go:
name: Go build & test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
check-latest: true
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Gofmt
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "These files need gofmt:"; echo "$unformatted"; exit 1
fi
- name: Test (includes license-header check)
run: go test ./...
python:
name: Python worker tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.12'
# No headroom-ai installed here, so the real-headroom integration test
# self-skips; the protocol and unit tests still run.
- name: Run worker tests
run: python3 -m unittest discover -s tests -p 'test_*.py' -v