Skip to content
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

Merged
merged 2 commits into from
May 7, 2019

Conversation

hectcastro
Copy link
Contributor

@hectcastro hectcastro commented May 7, 2019

Overview

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.

Closes #3

Testing Instructions

Review the Travis CI build logs.

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configuration file for setuptools.

@hectcastro hectcastro requested a review from rbreslow May 7, 2019 18:04
Copy link
Contributor

@rbreslow rbreslow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@hectcastro hectcastro merged commit 51adf93 into develop May 7, 2019
@hectcastro hectcastro deleted the feature/hmc/tox branch May 7, 2019 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tox test suite to cover matrix of Python and Django versions
2 participants