summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-07-26 10:37:44 +0200
committernicolargo <nicolas@nicolargo.com>2022-07-26 10:37:44 +0200
commitdfe0f642ea0a890d65c3078ee7c17621b6c6f7d5 (patch)
tree763e2b2b105392892499093adf5fef1962c0b21c /.github
parent708046476607f4b89bb7bd11703ec60bbc6c1206 (diff)
parentca0aaed56c9e99bc4c9482d5de56e042f0f79ad2 (diff)
Resolv first conflict
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml12
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