summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-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: |