From 7f836cb0dac1fb5a176c8d56cf09c6ae0054e9df Mon Sep 17 00:00:00 2001 From: krassowski Date: Mon, 15 Feb 2021 19:57:59 +0000 Subject: [PATCH] Purge Python 2.7 tests --- .github/workflows/test-linux.yml | 9 ++++----- .github/workflows/test-mac.yml | 3 +-- .github/workflows/test-win.yml | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index eab616bf..1bda55d6 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -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 @@ -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 @@ -42,11 +41,11 @@ jobs: - 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 diff --git a/.github/workflows/test-mac.yml b/.github/workflows/test-mac.yml index 22b95373..8f7d0ad2 100644 --- a/.github/workflows/test-mac.yml +++ b/.github/workflows/test-mac.yml @@ -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 @@ -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 diff --git a/.github/workflows/test-win.yml b/.github/workflows/test-win.yml index 2deae4fb..045289c3 100644 --- a/.github/workflows/test-win.yml +++ b/.github/workflows/test-win.yml @@ -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