Skip to content

Bump senzing-factory/build-resources from 1 to 2 #20

Bump senzing-factory/build-resources from 1 to 2

Bump senzing-factory/build-resources from 1 to 2 #20

Workflow file for this run

name: mypy
on: [push, pull_request]
permissions:
contents: read
jobs:
mypy:
name: mypy Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: update pip
run: python3 -m pip install --upgrade pip
- name: pip install mypy
run: pip install mypy pytest orjson
- name: mypy testing
run: |
# shellcheck disable=SC2046
mypy --strict $(git ls-files '*.py' ':!:docs/source/*')