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
+27-28Lines changed: 27 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# This workflow runs automated tests for the Simple WP Optimizer plugin against multiple
2
2
# WordPress and PHP versions to ensure compatibility across environments.
3
3
# It sets up a MySQL database, installs WordPress, and runs PHPUnit tests in a matrix configuration.
4
-
# Testing multiple PHP versions (7.4 through 8.2) and WordPress versions (5.6 through latest)
4
+
# Testing multiple PHP versions (7.4 through 8.4) and WordPress versions (latest)
5
5
# helps catch compatibility issues before they affect users.
6
6
7
7
name: WordPress Plugin Tests
@@ -282,34 +282,33 @@ jobs:
282
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
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
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
288
288
echo "Creating missing class-basic-object.php file in /tmp/wordpress-tests-lib..."
0 commit comments