DEVGUIDE.md #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: py types | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
branches: [ develop, master ] | |
workflow_dispatch: | |
jobs: | |
mypy: | |
name: mypy typehints check | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: checkout software | |
uses: actions/checkout@v2 | |
with: | |
path: software | |
- name: 'refresh install' | |
run: | | |
sudo apt-get update --fix-missing | |
- name: 'install python3 mypy' | |
run: | | |
sudo apt-get install --fix-broken --ignore-missing python3-typed-ast mypy | |
- name: 'show mypy directories' | |
run: | | |
find . -type d | |
mypy --version | |
- name: 'make type (mypy strict type checking)' | |
id: check | |
run: | | |
make type -C software |