Add comprehensive integration tests and fix WebSocket cancellation hang #17
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: Test runtimeuse-client-python | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "packages/runtimeuse-client-python/**" | |
| - "packages/runtimeuse/**" | |
| pull_request: | |
| paths: | |
| - "packages/runtimeuse-client-python/**" | |
| - "packages/runtimeuse/**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm install | |
| working-directory: packages/runtimeuse | |
| - run: npm run build | |
| working-directory: packages/runtimeuse | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: pip install -e ".[dev]" 2>/dev/null || pip install -e . | |
| working-directory: packages/runtimeuse-client-python | |
| - run: pip install pytest pytest-asyncio | |
| - run: pytest test/ -m "not sandbox and not llm" | |
| working-directory: packages/runtimeuse-client-python |