Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
name:
name:
- "py27"
- "py35"
- "py36"
Expand Down Expand Up @@ -59,6 +59,13 @@ jobs:
use_coverage: false
consul_version: "1.6.1"

- name: "py39"
python: "3.9"
os: ubuntu-latest
tox_env: "py39"
use_coverage: false
consul_version: "1.6.1"

- name: "pypy2"
python: "pypy2"
os: ubuntu-latest
Expand Down Expand Up @@ -178,5 +185,3 @@ jobs:
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true


20 changes: 19 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py35, py36, py37, py38, pypy2, pypy3
envlist = py27, py35, py36, py37, py38, py39, pypy2, pypy3


[testenv]
Expand Down Expand Up @@ -138,3 +138,21 @@ deps =
commands =
py.test --reruns=3 {posargs:consul tests}
flake8 --exclude=".tox/*,xx/*,__*,docs/*,venv/*"


[testenv:py39]

deps =
pytest
pytest-rerunfailures
pytest-twisted
twisted
treq
pytest_httpserver
pyOpenSSL
tornado
aiohttp
flake8
commands =
py.test --reruns=3 {posargs:consul tests}
flake8 --exclude=".tox/*,xx/*,__*,docs/*,venv/*"