Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
Merged
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
20 changes: 20 additions & 0 deletions .coveragerc_py37
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[run]
branch = True
timid = True

[report]
exclude_lines =
pragma: no cover
pragma: py3 no cover
if six.PY2
elif six.PY2

partial_branches =
pragma: no cover
pragma: py3 no cover
if six.PY3
elif six.PY3

show_missing = True

fail_under = 90
4 changes: 2 additions & 2 deletions buildspec-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ phases:
- tox -e black-check

# run unit tests
- tox -e py36,py27 -- test/unit
- tox -e py27,py36,py37 --parallel all -- test/unit

# build dummy container
- python3 setup.py sdist
Expand All @@ -32,7 +32,7 @@ phases:
- cd ../..

# run local integration tests
- IGNORE_COVERAGE=- tox -e py36,py27 -- test/integration/local
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/integration/local

# publish the release to github
- git-release --publish
Expand Down
4 changes: 2 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ phases:
- tox -e twine

# run unit tests
- tox -e py36,py27 -- test/unit
- tox -e py27,py36,py37 --parallel all -- test/unit

# build dummy container
- python setup.py sdist
Expand All @@ -30,4 +30,4 @@ phases:
- cd ../..

# run local integration tests
- IGNORE_COVERAGE=- tox -e py36,py27 -- test/integration/local
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/integration/local
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def read_version():
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
install_requires=required_packages,
extras_require={
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = black-format,flake8,pylint,twine,py27,py36
envlist = black-format,flake8,pylint,twine,py27,py36,py37

skip_missing_interpreters = False

Expand Down