drop python 3.6 from CI (#1382)

* drop python 3.6 from CI

* Drop 3.6 from CI matrix.

Co-authored-by: Omer Katz <omer.drow@gmail.com>
This commit is contained in:
Asif Saif Uddin 2021-09-09 22:02:35 +06:00 committed by GitHub
parent 88a6b39db1
commit e4fe3280ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6,3.7,3.8,3.9]
python-version: [3.7,3.8,3.9]
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6,3.7,3.8,3.9,pypy3]
python-version: [3.7,3.8,3.9,pypy3]
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
@ -44,7 +44,7 @@ jobs:
run: tox -v -e ${{ matrix.python-version }}-linux-integration-py-amqp -- -v
- name: Run redis integration tests
run: tox -v -e ${{ matrix.python-version }}-linux-integration-py-redis -- -v
#################### Linters and checkers ####################
lint:
needs: [unittest, integration]

13
tox.ini
View File

@ -1,8 +1,8 @@
[tox]
envlist =
{pypy3,3.6,3.7,3.8,3.9}-unit
{pypy3,3.6,3.7,3.8,3.9}-linux-integration-py-amqp
{pypy3,3.6,3.7,3.8,3.9}-linux-integration-redis
{pypy3,3.7,3.8,3.9}-unit
{pypy3,3.7,3.8,3.9}-linux-integration-py-amqp
{pypy3,3.7,3.8,3.9}-linux-integration-redis
flake8
flakeplus
apicheck
@ -17,9 +17,9 @@ passenv =
DISTUTILS_USE_SDK
deps=
-r{toxinidir}/requirements/dev.txt
apicheck,pypy3,3.6,3.7,3.8,3.9: -r{toxinidir}/requirements/default.txt
apicheck,pypy3,3.6,3.7,3.8,3.9: -r{toxinidir}/requirements/test.txt
apicheck,pypy3,3.6,3.7-linux,3.8-linux,3.9-linux: -r{toxinidir}/requirements/test-ci.txt
apicheck,pypy3,3.7,3.8,3.9: -r{toxinidir}/requirements/default.txt
apicheck,pypy3,3.7,3.8,3.9: -r{toxinidir}/requirements/test.txt
apicheck,pypy3,3.7-linux,3.8-linux,3.9-linux: -r{toxinidir}/requirements/test-ci.txt
3.7-windows,3.8-windows,3.9-windows: -r{toxinidir}/requirements/test-ci-windows.txt
apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt
flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
@ -30,7 +30,6 @@ commands =
integration-redis: py.test -xv -E redis t/integration {posargs:-n2}
basepython =
3.6: python3.6
3.7: python3.7
3.8: python3.8
3.9,apicheck,pydocstyle,flake8,linkcheck,cov: python3.9