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
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -274,19 +274,19 @@ jobs:
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
-
if [ ! -f "/tmp/wordpress-tests-lib/includes/class-basic-object.php" ]; then
288
-
echo "Creating missing class-basic-object.php file in /tmp/wordpress-tests-lib..."
0 commit comments