Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/python-sdk-tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Python SDK Tests
name: Python SDK

on:
push:
paths:
- "python-sdk/**"
- "test_vectors/**"
- ".github/workflows/python-sdk-tests.yml"
pull_request:
paths:
- "python-sdk/**"
- "test_vectors/**"
- ".github/workflows/python-sdk-tests.yml"

jobs:
Expand All @@ -31,11 +33,17 @@ jobs:
- name: Install dependencies
run: pip install -e '.[dev]'

- name: Lint (ruff)
run: python -m ruff check commandlayer/
- name: Lint
run: python -m ruff check .

- name: Type check (mypy)
run: python -m mypy commandlayer/
- name: Type check
run: python -m mypy commandlayer

- name: Tests (pytest)
- name: Tests
run: python -m pytest tests/ -v

- name: Build package
run: python -m build

- name: Twine check
run: python -m twine check dist/*
16 changes: 13 additions & 3 deletions .github/workflows/typescript-sdk-cli-smoke.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: TypeScript SDK CLI Smoke
name: TypeScript SDK

on:
push:
paths:
- "typescript-sdk/**"
- "runtime/tests/**"
- "test_vectors/**"
- ".github/workflows/typescript-sdk-cli-smoke.yml"
pull_request:
paths:
- "typescript-sdk/**"
- "runtime/tests/**"
- "test_vectors/**"
- ".github/workflows/typescript-sdk-cli-smoke.yml"

jobs:
cli-smoke:
test:
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -23,7 +27,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
cache: npm
cache-dependency-path: typescript-sdk/package-lock.json

Expand All @@ -39,5 +43,11 @@ jobs:
- name: Unit tests
run: npm run test:unit

- name: Runtime protocol tests
run: node --test ../runtime/tests/*.mjs

- name: CLI smoke tests
run: npm run test:cli-smoke

- name: Package dry run
run: npm pack --dry-run
Loading
Loading