Skip to content

Commit 0e2ed18

Browse files
authored
Update SVN commands
1 parent 1f6cf79 commit 0e2ed18

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,10 @@ jobs:
9999
run: |
100100
CONTAINER_ID=$(docker-compose -f .github/docker/docker-compose.yml ps -q wordpress)
101101
echo "Copying WordPress tests..."
102-
docker exec $CONTAINER_ID sudo mkdir -p /var/www/html/tests/
103-
docker exec $CONTAINER_ID wp_version=$(wp core version); svn export --quiet --ignore-externals https://develop.svn.wordpress.org/$wp_version/tests/phpunit/includes/ /var/www/html/tests/includes/
104-
ls -alh /var/www/html/tests/includes/
102+
docker exec $CONTAINER_ID mkdir -p /var/www/html/tests/
103+
docker exec $CONTAINER_ID bash -c "wp_version=$(wp core version); \
104+
svn export --quiet --ignore-externals https://develop.svn.wordpress.org/$wp_version/tests/phpunit/includes/ /var/www/html/tests/includes/; \
105+
ls -alh /var/www/html/tests/includes/"
105106
106107
#Configure GH token to access the plugin-modules repo, which is private
107108
- name: Configure GitHub OAuth for Composer

0 commit comments

Comments
 (0)