Skip to content

Commit 0423151

Browse files
committed
Align SDK surfaces with protocol v1.1.0
1 parent d87cc3d commit 0423151

33 files changed

+1272
-2595
lines changed

.github/workflows/python-sdk-tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
name: Python SDK Tests
1+
name: Python SDK
22

33
on:
44
push:
55
paths:
66
- "python-sdk/**"
7+
- "test_vectors/**"
78
- ".github/workflows/python-sdk-tests.yml"
89
pull_request:
910
paths:
1011
- "python-sdk/**"
12+
- "test_vectors/**"
1113
- ".github/workflows/python-sdk-tests.yml"
1214

1315
jobs:
@@ -31,11 +33,17 @@ jobs:
3133
- name: Install dependencies
3234
run: pip install -e '.[dev]'
3335

34-
- name: Lint (ruff)
35-
run: python -m ruff check commandlayer/
36+
- name: Lint
37+
run: python -m ruff check .
3638

37-
- name: Type check (mypy)
38-
run: python -m mypy commandlayer/
39+
- name: Type check
40+
run: python -m mypy commandlayer
3941

40-
- name: Tests (pytest)
42+
- name: Tests
4143
run: python -m pytest tests/ -v
44+
45+
- name: Build package
46+
run: python -m build
47+
48+
- name: Twine check
49+
run: python -m twine check dist/*

.github/workflows/typescript-sdk-cli-smoke.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
name: TypeScript SDK CLI Smoke
1+
name: TypeScript SDK
22

33
on:
44
push:
55
paths:
66
- "typescript-sdk/**"
7+
- "runtime/tests/**"
8+
- "test_vectors/**"
79
- ".github/workflows/typescript-sdk-cli-smoke.yml"
810
pull_request:
911
paths:
1012
- "typescript-sdk/**"
13+
- "runtime/tests/**"
14+
- "test_vectors/**"
1115
- ".github/workflows/typescript-sdk-cli-smoke.yml"
1216

1317
jobs:
14-
cli-smoke:
18+
test:
1519
runs-on: ubuntu-latest
1620
defaults:
1721
run:
@@ -23,7 +27,7 @@ jobs:
2327
- name: Setup Node
2428
uses: actions/setup-node@v4
2529
with:
26-
node-version: 22
30+
node-version: 20
2731
cache: npm
2832
cache-dependency-path: typescript-sdk/package-lock.json
2933

@@ -39,5 +43,11 @@ jobs:
3943
- name: Unit tests
4044
run: npm run test:unit
4145

46+
- name: Runtime protocol tests
47+
run: node --test ../runtime/tests/*.mjs
48+
4249
- name: CLI smoke tests
4350
run: npm run test:cli-smoke
51+
52+
- name: Package dry run
53+
run: npm pack --dry-run

0 commit comments

Comments
 (0)