From d308eb59104530372fa9c89b7a49f951b1733ad0 Mon Sep 17 00:00:00 2001 From: Nestor Acuna-Blanco Date: Fri, 12 May 2023 08:23:32 +0200 Subject: [PATCH] remove support for python2 in the tests. --- .github/workflows/ci.yml | 10 ++-------- tox.ini | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55003a7..bb20e4c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,26 +1,20 @@ name: CI -on: [push, pull_request] +on: [ push ] jobs: build: - runs-on: ubuntu-latest - strategy: - matrix: - python: [3.8, 3.9, 3.11] - steps: - uses: actions/checkout@v2 - name: Setup Python uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python }} + python-version: 3.8 - name: Install Tox and any other packages run: | pip install tox pip install -r ./requirements.txt - - name: Run Tox # Run tox using the version of Python in `PATH` run: tox -e py diff --git a/tox.ini b/tox.ini index 8af8ba22..eedeb610 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py27,py39 +envlist = py39 [testenv] # install pytest in the virtualenv where commands will be executed