Skip to content

tests: make the disconnect test a bit more predictable. #4

tests: make the disconnect test a bit more predictable.

tests: make the disconnect test a bit more predictable. #4

Workflow file for this run

name: "Check typing with MyPy"
on:
push:
paths:
- '.github/workflows/mypy.yml'
- 'pyproject.toml'
- '**.py'
pull_request:
paths:
- '.github/workflows/mypy.yml'
- 'pyproject.toml'
- '**.py'
workflow_dispatch:
env:
PYTHON_VERSION: "3.12"
jobs:
mypy:
name: "Run typing checks"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- name: Repository checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install linting dependencies
run: make install-package install-linting
- name: MyPy
run: mypy --junit-xml=mypy.xml
- name: Upload type checking results
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: Type checking results (Python ${{ matrix.python-version }})
path: mypy.xml