Skip to content

Build a standard NextGenSwitch Python SDK #6

Build a standard NextGenSwitch Python SDK

Build a standard NextGenSwitch Python SDK #6

Workflow file for this run

name: Tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- run: python -m pip install --upgrade pip
- run: python -m pip install -e ".[dev]"
- run: ruff check .
- run: mypy src/nextgenswitch
- run: pytest
- run: python -m build
- run: python -m twine check dist/*