Skip to content

[pre-commit.ci] pre-commit autoupdate #55

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #55

Workflow file for this run

name: Test Mypy
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
mypy-tests:
name: mypy tests
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.11"
- name: Set up nox
run: pip install nox
- name: Set up cache
uses: actions/cache@v4
id: cache
with:
path: .nox
key: nox-mypy-${{ hashFiles('noxfile.py') }}
- name: Run mypy test
run: |
nox -s test_mypy
- name: Check for clean working tree
run: |
git diff --exit-code --stat HEAD