aboutsummaryrefslogtreecommitdiff
path: root/.scripts.d
diff options
context:
space:
mode:
Diffstat (limited to '.scripts.d')
-rw-r--r--.scripts.d/30-test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.scripts.d/30-test.sh b/.scripts.d/30-test.sh
index 4ec890d..26ad3f8 100644
--- a/.scripts.d/30-test.sh
+++ b/.scripts.d/30-test.sh
@@ -15,6 +15,7 @@ curl -fsSL https://goss.rocks/install | sh
export GOSS_SLEEP=${GOSS_SLEEP:-5}
export GOSS_VARS=${GOSS_VARS:-}
+export GOSS_OPTS="--format junit --no-color"
export CONTAINER_LOG_OUTPUT=${CONTAINER_LOG_OUTPUT:-}
# The default 'mount' strategy uses 'sleep infinity' to keep
@@ -27,4 +28,5 @@ fi
goss --gossfile goss.yaml render >goss-full.yaml
mv goss-full.yaml goss.yaml
-dgoss run "chn2guevara/languagetool:${BUILD_ID}"
+mkdir -p build/reports/
+dgoss run "chn2guevara/languagetool:${BUILD_ID}" > build/reports/goss.xml