This repository was archived by the owner on May 24, 2026. It is now read-only.
Fix Python receipt/request parity regressions #50
Workflow file for this run
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: 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: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| defaults: | |
| run: | |
| working-directory: python-sdk | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: pip install -e '.[dev]' | |
| - name: Lint | |
| run: python -m ruff check . | |
| - name: Type check | |
| run: python -m mypy commandlayer | |
| - name: Tests | |
| run: python -m pytest tests/ -v | |
| - name: Build package | |
| run: python -m build | |
| - name: Twine check | |
| run: python -m twine check dist/* |