Explorar o código

Don't run mypy on pypy.

Jelmer Vernooij %!s(int64=4) %!d(string=hai) anos
pai
achega
195fc8d564
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      .github/workflows/pythonpackage.yml

+ 6 - 1
.github/workflows/pythonpackage.yml

@@ -21,13 +21,18 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        pip install -U pip coverage codecov flake8 fastimport mypy
+        pip install -U pip coverage codecov flake8 fastimport
+    - name: Install mypy
+      run: |
+        pip install -U mypy
+      if: 'matrix.python-version != "pypy3"'
     - name: Style checks
       run: |
         python -m flake8
     - name: Typing checks
       run: |
         python -m mypy dulwich
+      if: 'matrix.python-version != "pypy3"'
     - name: Build
       run: |
         python setup.py build_ext -i