From aa7d6a7b4870c12cd532e194be19a02e945d9d4a Mon Sep 17 00:00:00 2001 From: Davide Brunato Date: Fri, 4 Mar 2022 16:08:33 +0100 Subject: [PATCH] Disable mypy run in CI for Python 3.7 and use pypy-3.8 --- .github/workflows/test-elementpath.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-elementpath.yml b/.github/workflows/test-elementpath.yml index 981200d4..3cb6b08a 100644 --- a/.github/workflows/test-elementpath.yml +++ b/.github/workflows/test-elementpath.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "pypy-37"] + python-version: [3.7, 3.8, 3.9, "3.10", "pypy-3.8"] exclude: - os: macos-latest python-version: 3.7 @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install additional development libraries for building lxml - if: ${{ matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.10' || matrix.python-version == 'pypy-37') }} + if: ${{ matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.10' || matrix.python-version == 'pypy-3.8') }} run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt-dev python-dev - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 @@ -42,7 +42,7 @@ jobs: pip install flake8 flake8 elementpath --max-line-length=100 --statistics - name: Lint with mypy - if: ${{ matrix.python-version != 'pypy-37' }} + if: ${{ matrix.python-version != '3.7' && matrix.python-version == 'pypy-3.8' }} run: | pip install mypy==0.931 mypy --show-error-codes elementpath