Skip to content

fix(ci): add Callable to typing imports in runtime.py (#6) #13

fix(ci): add Callable to typing imports in runtime.py (#6)

fix(ci): add Callable to typing imports in runtime.py (#6) #13

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: pytest
- name: Run ruff
run: ruff check src/
- name: Run mypy
run: mypy src/
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -e ".[dev]"
- run: coverage run -m pytest
- uses: codecov/codecov-action@v4
if: always()