lightning/.github/workflows/code-checks.yml

23 lines
528 B
YAML
Raw Normal View History

2021-07-12 18:28:35 +00:00
name: "Check code"
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches: [master, "release/*"]
pull_request:
branches: [master, "release/*"]
jobs:
python-typing-mypy:
name: Python typing Mypy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install mypy
run: |
pip install mypy==0.790
pip list
- run: mypy