File: github-actions-mypy.yml

package info (click to toggle)
python-lazy-model 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: python: 280; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: MyPy
on: [ pull_request ]

jobs:
  mypy:
    strategy:
      fail-fast: false
      matrix:
        python-version: [ 3.12 ]
        os: [ ubuntu-latest ]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: mypy install
        run: pip3 install mypy types-click types-toml
      - name: mypy
        run: mypy lazy_model/ --config-file pyproject.toml