diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 92cc9269..c1e6c46e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,18 @@ jobs: # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=.git,./docs,./glances/outputs/static + + - name: Static type check + run: | + if [ "${{ matrix.python-version }}" == "2.7" ]; + then + echo "Skipping static type check for Python 2.7"; + else + echo "Skipping static type check for the moment, too much error..."; + # pip install pyright + # pyright glances + fi + - name: Unitary tests run: | python ./unitest.py |