Skip to content

Commit

Permalink
remove support for python2 in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nestor Acuna-Blanco committed May 20, 2023
1 parent 7c8beee commit d308eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d308eb5

Please sign in to comment.