Skip to content

Commit

Permalink
Disable mypy run in CI for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Mar 4, 2022
1 parent 650b97c commit f4799b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-elementpath.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.7"]
exclude:
- os: macos-latest
python-version: 3.7
Expand All @@ -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.7') }}
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
Expand All @@ -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.7' }}
run: |
pip install mypy==0.931
mypy --show-error-codes elementpath
Expand Down

0 comments on commit f4799b0

Please sign in to comment.