Skip to content

feat: Example for Integrating Realtime API into Sotopia. #794

feat: Example for Integrating Realtime API into Sotopia.

feat: Example for Integrating Realtime API into Sotopia. #794

Workflow file for this run

name: Mypy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
push:
branches:
- main
- release
- dev
pull_request:
branches:
- main
- release
jobs:
Static-Type-Checking:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Pyaudio
run: sudo apt-get install -y portaudio19-dev
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install uv
- name: Type-checking package with mypy
run: |
# Run this mypy instance against our main package.
uv run --all-extras mypy --strict .