Skip to content

Commit 1387545

Browse files
authored
Add --allow-root to wp-cli
1 parent fa5aa94 commit 1387545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
CONTAINER_ID=$(docker-compose -f .github/docker/docker-compose.yml ps -q wordpress)
9797
echo "Copying WordPress tests..."
9898
docker exec $CONTAINER_ID mkdir -p /var/www/html/tests/includes/
99-
docker exec $CONTAINER_ID bash -c 'wp_version=$(wp core version); \
99+
docker exec $CONTAINER_ID bash -c 'wp_version=$(wp core version --allow-root); \
100100
svn export --quiet --ignore-externals https://develop.svn.wordpress.org/$wp_version/tests/phpunit/includes/ /var/www/html/tests/includes/; \
101101
ls -alh /var/www/html/tests/includes/'
102102

0 commit comments

Comments
 (0)