summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain MOUQUET <sylvain.mouquet@gmail.com>2022-07-10 11:34:56 +0200
committerSylvain MOUQUET <sylvain.mouquet@gmail.com>2022-07-10 11:34:56 +0200
commit3237d2aedf9e0a9281030a5e62db1de9a4c1f3f5 (patch)
tree9f4c27a4514576c5720e82cf24667c6412c97e56
parentf7982934743a07b67112f7fb0f315eb5a8690c06 (diff)
chore: add pyright
-rw-r--r--.github/workflows/test.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0e3e4983..a3afe6fc 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,8 +37,13 @@ jobs:
- name: Static type check
run: |
- pip install pyright
- pyright glances
+ if [ "${{ matrix.python-version }}" == "2.7" ];
+ then
+ echo "Skipping static type check for Python 2.7";
+ else
+ pip install pyright
+ pyright glances
+ fi
- name: Unitary tests
run: |