Mount the same path inside the container so coverage report is accurate

This commit is contained in:
Ben Ramsey
2019-12-06 15:50:59 -08:00
parent 7d82d45152
commit 0cc0217880
+2 -2
View File
@@ -18,8 +18,8 @@ cmd_proxy=""
if [ "${architecture}" = "arm32" ]; then
image="benramsey/ramsey-uuid:php-${php_version}-arm32v7"
volumes="-v ${PWD}:/app"
cmd_proxy="docker run --rm ${volumes} -w /app ${image}"
volumes="-v ${PWD}:${PWD}"
cmd_proxy="docker run --rm ${volumes} -w ${PWD} ${image}"
fi
$cmd_proxy "$@"