docs: add harness service v0 mockup #159
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SDK tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install Python SDK deps | |
| working-directory: src/sdk/python | |
| run: pip install -e '.[dev]' | |
| - name: Run Python SDK tests | |
| working-directory: src/sdk/python | |
| run: | | |
| python -m pytest -q | |
| python -m mypy | |
| - name: Install TypeScript SDK deps | |
| working-directory: src/sdk/typescript | |
| run: npm install --no-audit --no-fund | |
| - name: Run TypeScript SDK tests | |
| working-directory: src/sdk/typescript | |
| run: | | |
| npm test | |
| npm run typecheck |