Skip to content

Commit

Permalink
Merge pull request #1059 from Gallaecio/docker-run-args
Browse files Browse the repository at this point in the history
Allow overriding target test files in ‘docker run’ calls
  • Loading branch information
kmike committed Sep 1, 2020
2 parents 54b3284 + eae3bdb commit 7cc080e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dockerfiles/tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ RUN find . -name \*.pyc -delete

RUN chown -R splash:splash /app
USER splash:splash
ENTRYPOINT ["/app/dockerfiles/tests/runtests.sh"]
ENTRYPOINT ["/app/dockerfiles/tests/runtests.sh"]
CMD ["splash"]
2 changes: 1 addition & 1 deletion dockerfiles/tests/runtests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
py.test --cov=splash --doctest-modules --durations=50 splash "$@" && \
py.test --cov=splash --doctest-modules --durations=50 "$@" && \
if [ -n "${TRAVIS}" ]; then
codecov
fi;

0 comments on commit 7cc080e

Please sign in to comment.