when running locally, use the theme from cwd

parent 6211b132
......@@ -17,7 +17,7 @@ trap "kill_selenium" EXIT
function run_phpunit() {
local docker_args
if ! test "$GITLAB_CI" ; then
docker_args="-v $(pwd):/opt/nextcloud/apps/enough"
docker_args="-v $(pwd):/opt/nextcloud/apps/enough -v $(pwd)/theme:/opt/nextcloud/themes/enough"
fi
docker run --link enough_selenium:selenium --rm -e TRAVIS=true $docker_args enough_ci:latest /opt/vendor/bin/phpunit --bootstrap /opt/nextcloud/tests/bootstrap.php --fail-on-warning "$@"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment