From bd1df7b6d348a36f9201a22a596e4de63c9c89fb 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 | 7 ++----- tox.ini | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55003a7..96744d4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,13 @@ name: CI -on: [push, pull_request] +on: [ push ] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - python: [3.8, 3.9, 3.11] - + python: [ 3.8, 3.9, 3.11 ] steps: - uses: actions/checkout@v2 - name: Setup Python @@ -20,7 +18,6 @@ jobs: 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