File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed
Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99jobs :
10- build :
11- name : Test on ${{ matrix.os }} (py-${{ matrix.python_version }})
10+ test :
11+ name : test on ${{ matrix.os }} (py-${{ matrix.python_version }})
1212 runs-on : ${{ matrix.os }}
1313 strategy :
1414 fail-fast : false
5353 with :
5454 name : aw-watcher-window-${{ runner.os }}-py${{ matrix.python_version }}
5555 path : dist/aw-watcher-window
56+
57+ typecheck :
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v2
61+ with :
62+ submodules : ' recursive'
63+ - name : Set up Python
64+ uses : actions/setup-python@v1
65+ with :
66+ python-version : ${{ matrix.python_version }}
67+ - name : Create virtualenv
68+ shell : bash
69+ run : |
70+ python -m venv venv
71+ - name : Install dependencies
72+ shell : bash
73+ run : |
74+ pip install poetry
75+ source venv/bin/activate || source venv/Scripts/activate
76+ poetry install
77+ - name : Typecheck
78+ shell : bash
79+ run : |
80+ source venv/bin/activate || source venv/Scripts/activate
81+ make typecheck
Original file line number Diff line number Diff line change 55
66test :
77 aw-watcher-window --help
8- python -m mypy aw_watcher_window/ --ignore-missing-imports
8+
9+ typecheck :
10+ poetry run mypy aw_watcher_window/ --ignore-missing-imports
911
1012package :
1113 pyinstaller aw-watcher-window.spec --clean --noconfirm
You can’t perform that action at this time.
0 commit comments