Repository navigation
SW-Serverless 10.2.0: Python and Node adapters, sw-serverless CLI, standalone from Bitween #1
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: | |
| branches: [main] | |
| paths: ["sdk/python/**", ".github/workflows/python-sdk.yml"] | |
| pull_request: | |
| paths: ["sdk/python/**", ".github/workflows/python-sdk.yml"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Unit tests | |
| working-directory: sdk/python | |
| run: PYTHONPATH=src python -m unittest discover -s tests -v |