-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test suite for matrix of Python/Django versions #7
Conversation
Use `tox` to execute a matrix of tests against the officially supported combinations of Python and Django. In addition, convert the `README` from Markdown to reStructuredText in order to appease `setup.py check`.
@@ -1,23 +1,26 @@ | |||
dist: xenial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use Xenial for everything.
@@ -0,0 +1,175 @@ | |||
django-ecsmanage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't really want to do this, but it allows setup.py check
to work.
See: pypi/warehouse#4079
@@ -52,10 +52,10 @@ def handle(self, *args, **options): | |||
|
|||
url = ( | |||
f"https://console.aws.amazon.com/ecs/home?region={aws_region}#" | |||
f"/clusters/{cluster_name}/tasks/{task_id}/details" | |||
f"/clusters/{cluster_name}/tasks/{task_id}/details" # NOQA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added these because these lines were getting marked as too long by flake8
for specific version of Python (3.4 and 3.5), despite max-line-length=88
. It remains unclear why.
@@ -0,0 +1,8 @@ | |||
[bdist_wheel] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Configuration file for setuptools
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Overview
Use
tox
to execute a matrix of tests against the officially supported combinations of Python and Django. In addition, convert theREADME
from Markdown to reStructuredText in order to appeasesetup.py check
.Closes #3
Testing Instructions
Review the Travis CI build logs.