You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/wordpress-tests.yml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -272,16 +272,16 @@ jobs:
272
272
sudo apt-get install -y rsync
273
273
sudo rsync -a /tmp/wordpress-tests-lib/ /wordpress-tests-lib/ || echo "::warning::Failed to sync files with rsync"
274
274
fi
275
-
275
+
276
276
# Verify files in both locations
277
-
if [ -f "/wordpress-tests-lib/includes/functions.php" ]; then
278
-
echo "WordPress test files successfully copied to /wordpress-tests-lib/"
279
-
else
280
-
echo "::warning::Files may be missing in /wordpress-tests-lib, creating core files if needed"
281
-
sudo mkdir -p /wordpress-tests-lib/includes/
282
-
if ! sudo cp -f /tmp/wordpress-tests-lib/includes/functions.php /wordpress-tests-lib/includes/; then echo "::warning::Failed to copy functions.php"; fi
283
-
if ! sudo cp -f /tmp/wordpress-tests-lib/wp-tests-config.php /wordpress-tests-lib/; then echo "::warning::Failed to copy wp-tests-config.php"; fi
284
-
fi
277
+
if [ -f "/wordpress-tests-lib/includes/functions.php" ]; then
278
+
echo "WordPress test files successfully copied to /wordpress-tests-lib/"
279
+
else
280
+
echo "::warning::Files may be missing in /wordpress-tests-lib, creating core files if needed"
281
+
sudo mkdir -p /wordpress-tests-lib/includes/
282
+
if ! sudo cp -f /tmp/wordpress-tests-lib/includes/functions.php /wordpress-tests-lib/includes/; then echo "::warning::Failed to copy functions.php"; fi
283
+
if ! sudo cp -f /tmp/wordpress-tests-lib/wp-tests-config.php /wordpress-tests-lib/; then echo "::warning::Failed to copy wp-tests-config.php"; fi
284
+
fi
285
285
286
286
# Create or copy required class-basic-object.php file if missing
287
287
if [ ! -f "/tmp/wordpress-tests-lib/includes/class-basic-object.php" ]; then
0 commit comments