Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
WinstonKamau committed Dec 20, 2018
1 parent 7687acf commit 468e30d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
- TEST_DATABASE=postgresql://soc:soc@database:5432/test-db
- APP_SETTINGS=Testing
- FLASK_APP=manage.py
- COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN}
# env_file:
# - ../../src/.env
volumes:
Expand Down
3 changes: 2 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

set -x
set -o errexit
set -o pipefail

coverage run -m pytest -v
coverage html
COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} coveralls

exec $@
exec "$@"

0 comments on commit 468e30d

Please sign in to comment.