Run Docker test as the mayan user

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-13 13:36:59 -04:00
parent d003818cae
commit 78b0abf50c

View File

@@ -5,6 +5,6 @@ export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends gcc python-dev tesseract-ocr-deu
$MAYAN_PIP_BIN install -r ${MAYAN_INSTALL_DIR}/testing-base.txt
su mayan -c "$MAYAN_PIP_BIN install -r ${MAYAN_INSTALL_DIR}/testing-base.txt"
$MAYAN_BIN test --mayan-apps --settings=mayan.settings.testing
su mayan -c "$MAYAN_BIN test --mayan-apps --settings=mayan.settings.testing"