diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-04-05 10:54:05 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-04-05 10:54:05 +0200 |
commit | 679295ddee95ace6804e04aff631b68d0d04e134 (patch) | |
tree | 0e43e7522f635874b4915b43f8e17ae9f39f10de | |
parent | b43d1df8614625817fd243c396508a99a88b9f0e (diff) |
Ignore node modules when running integration tests in Docker
Node modules can take a lot of space, causing the copy of the local Git
working directory of Nextcloud to the container to be slow. However,
they are not needed when running the integration tests, so now they are
excluded from the copy.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rwxr-xr-x | tests/integration/run-docker.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/run-docker.sh b/tests/integration/run-docker.sh index 7b7fb2f52..8ec904fd1 100755 --- a/tests/integration/run-docker.sh +++ b/tests/integration/run-docker.sh @@ -158,6 +158,7 @@ function prepareDocker() { --exclude="./data" \ --exclude="./data-autotest" \ --exclude="./tests" \ + --exclude="node_modules" \ --directory=../../../../ \ . |