From e4b8e230710d2f49663d16e4162b1b3319d3c971 Mon Sep 17 00:00:00 2001 From: Hugo Gomes Date: Wed, 24 May 2023 11:30:43 +0100 Subject: [PATCH] fix: remove py2.7 github.com/actions/runner-images/issues/7401 --- .github/workflows/deploy.yml | 2 +- .github/workflows/main.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 826c0f9..97e649c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: name: Build strategy: matrix: - python-version: [2.7] + python-version: [3.5] runs-on: ubuntu-latest container: python:${{ matrix.python-version }} steps: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 463746c..ebb0b34 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ jobs: name: Build strategy: matrix: - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", rc] + python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "rc"] runs-on: ubuntu-latest container: python:${{ matrix.python-version }} steps: @@ -16,17 +16,17 @@ jobs: pip install pylint curl https://raw.githubusercontent.com/ripe-tech/pylint-config/master/pylintrc --output pylintrc PYTHONPATH=src pylint src/ripe - if: matrix.python-version != '2.7' && matrix.python-version != '3.5' + if: matrix.python-version != '3.5' - run: | pip install black black . --check --config ./pyproject.toml - if: matrix.python-version != '2.7' && matrix.python-version != '3.5' + if: matrix.python-version != '3.5' - run: python setup.py test - run: | pip install coveralls coverage run --source=ripe --omit="src/ripe/test/*" setup.py test coveralls - if: matrix.python-version != '2.7' && matrix.python-version != '3.5' + if: matrix.python-version != '3.5' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}