Skip to content

Conversation

@labbati
Copy link
Member

@labbati labbati commented Oct 18, 2018

No description provided.

@labbati labbati changed the title Provide a CLI preconfigured docker command to run tests Provide a preconfigured docker command to run tests Oct 18, 2018
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog left a comment

Choose a reason for hiding this comment

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

💯

@labbati
Copy link
Member Author

labbati commented Oct 18, 2018

CI is green but we have been rate limited again! Merging it anyway

image

@labbati labbati merged commit eb70520 into master Oct 18, 2018
@labbati labbati deleted the labbati/ddtest-runner branch October 18, 2018 11:41
Copy link
Member

@brettlangdon brettlangdon left a comment

Choose a reason for hiding this comment

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

Minor nitpicks on documentation, but otherwise lgtm


$ tox -e '{py35,py36}-redis{210}'

If you are in a unix machine, we also provide a shell script to execute commands in the provided container (so you don't
Copy link
Member

Choose a reason for hiding this comment

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

If you are using a unix machine, we also provide a helper script for running commands directly in this container.

?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is a shell script, so I guess it is not running on Windows? (not a Windows user). I will replace with MAC or Linux machine: ack?


$ ./scripts/ddtest tox -e '{py35,py36}-redis{210}'

You can also add the `scripts` folder to your path, so then you can run
Copy link
Member

Choose a reason for hiding this comment

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

This last part we can remove.

I think if we want to keep this suggestion we need to add instructions on how to add it to your path, and then we need to update the script to be runnable from any location on your system.

e.g. if I added to my path and did:

cd ~/Desktop
ddtest bash

I'd get a docker-compose error since the script will try to run docker-compose in my current directory.

I've done it before where it can be runnable from anywhere so can provide guidance there if that is the direction we want to head in.

@labbati
Copy link
Member Author

labbati commented Oct 18, 2018

Opssss too late @brettlangdon, but I will open a new PR with your suggestions as make a lot of sense.

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.

4 participants