fixing tests

This commit is contained in:
Julien Neuhart
2019-09-30 16:38:52 +02:00
parent d45f2e1ec7
commit 8f721cd12a
5 changed files with 28 additions and 19 deletions

View File

@@ -45,8 +45,7 @@ RUN mkdir -p /usr/share/man/man1mkdir -p /usr/share/man/man1 &&\
ENV UNO_URL=https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv
RUN apt-get install -y python3 &&\
curl -Ls $UNO_URL -o /usr/bin/unoconv &&\
RUN curl -Ls $UNO_URL -o /usr/bin/unoconv &&\
chmod +x /usr/bin/unoconv &&\
ln -s /usr/bin/python3 /usr/bin/python &&\
unoconv --version

View File

@@ -9,10 +9,8 @@ if [ "$CURRENT_USER" != "gotenberg" ]; then
exit 1
fi
# Start the PM2 processes
# (Google Chrome headless & unoconv listener).
# TODO just start chrome
go run github.com/thecodingmachine/gotenberg/test/cmd/pm2
# Start Google Chrome headless.
go run test/cmd/chrome.go
# Run our tests.
if [ "$CODE_COVERAGE" = "1" ]; then