Skip to content

Commit b99783b

Browse files
pr1m8claude
andcommitted
ci: add publish + CI workflows to all packages
- Each submodule gets publish.yml (auto-publish on v*.*.* tags via OIDC) - Each submodule gets ci.yml (build + import check on PR/push) - Parent repo gets ci.yml that checks out with submodules recursive Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3690fdb commit b99783b

8 files changed

Lines changed: 41 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout with submodules
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.12"
22+
23+
- name: Install Poetry
24+
run: |
25+
curl -sSL https://install.python-poetry.org | python3 -
26+
echo "$HOME/.local/bin" >> $GITHUB_PATH
27+
28+
- name: Install dependencies
29+
run: poetry install --no-interaction --no-root
30+
31+
- name: Verify imports
32+
run: |
33+
poetry run python -c "from haive.core import *; print('core OK')" || true
34+
poetry run python -c "from haive.agents.simple.agent import SimpleAgent; print('agents OK')" || true

0 commit comments

Comments
 (0)