Skip to content

Commit

Permalink
Purge Python 2.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Feb 15, 2021
1 parent 318d0e2 commit 7f836cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.7', '3.6', '2.7']
PYTHON_VERSION: ['3.8', '3.7', '3.6']
timeout-minutes: 10
steps:
- uses: actions/cache@v1
Expand All @@ -34,19 +34,18 @@ jobs:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: 'x64'
- name: Create Jedi environment for testing
if: matrix.PYTHON_VERSION != '2.7'
run: |
python3 -m venv /tmp/pyenv
/tmp/pyenv/bin/python -m pip install loghub
- run: python -m pip install --upgrade pip setuptools
- run: pip install -e .[all,test]
- run: py.test -v test/
- name: Pylint checks
if: matrix.PYTHON_VERSION == '2.7'
if: matrix.PYTHON_VERSION == '3.7'
run: pylint pyls test
- name: Code style checks
if: matrix.PYTHON_VERSION == '2.7'
if: matrix.PYTHON_VERSION == '3.7'
run: pycodestyle pyls test
- name: Pyflakes checks
if: matrix.PYTHON_VERSION == '2.7'
if: matrix.PYTHON_VERSION == '3.7'
run: pyflakes pyls test
3 changes: 1 addition & 2 deletions .github/workflows/test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.7', '3.6', '2.7']
PYTHON_VERSION: ['3.8', '3.7', '3.6']
timeout-minutes: 10
steps:
- uses: actions/cache@v1
Expand All @@ -34,7 +34,6 @@ jobs:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: 'x64'
- name: Create Jedi environment for testing
if: matrix.PYTHON_VERSION != '2.7'
run: |
python3 -m venv /tmp/pyenv
/tmp/pyenv/bin/python -m pip install loghub
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.7', '3.6', '2.7']
PYTHON_VERSION: ['3.8', '3.7', '3.6']
timeout-minutes: 10
steps:
- uses: actions/cache@v1
Expand Down

0 comments on commit 7f836cb

Please sign in to comment.