Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests on the docker image to validate it.
- Loading branch information
Rémy HUBSCHER
committed
Aug 8, 2017
1 parent
efa7b53
commit 9eec8f7
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
# Run tests in the docker image | ||
python3 -m venv /tmp/tests | ||
/tmp/tests/bin/pip install -r /app/dev-requirements.txt | ||
/tmp/tests/bin/pip install /app | ||
/tmp/tests/bin/py.test /app/tests |