Commit Graph

5 Commits

Author SHA1 Message Date
331307f8b0 Add debugging and error handling to PHPUnit workflow
- Add verbose logging to install-wp-tests.sh step
- Make mysqladmin create non-fatal (database may already exist)
- Add echo statements to track installation progress

This helps diagnose the "Install WordPress test suite" failure
and prevents failures when database already exists.

🤖 Generated with [Qoder][https://qoder.com]
2025-11-16 04:54:23 +00:00
e6dcda3f6e Fix GitHub Actions failures: code quality, tests, and linting
- Fix shellcheck warnings in bin/install-wp-tests.sh (quote variables, fix command -v usage)
- Remove trailing spaces in .github/workflows/phpunit.yml
- Add phpmd.xml to exclude camelCase checks for WordPress naming conventions
- Update composer.json to use phpmd.xml configuration
- Remove trailing commas in .eslintrc.js for Codacy compliance
- Add .markdownlint.json to configure markdown linting rules
- Improve Cypress test reliability with increased timeouts
- Update loginAsAdmin command with better error handling
- Make plugin activation checks more robust in Cypress tests

🤖 Generated with [Qoder][https://qoder.com]
2025-11-16 03:51:12 +00:00
b1966067ea Fix failing tests: Update install-wp-tests.sh, Cypress commands, and GitHub Actions workflows 2025-04-23 04:26:06 +01:00
bb31e0e934 Fix shellcheck issues in install-wp-tests.sh 2025-04-22 22:46:15 +01:00
5f598f0f7e Add PHPUnit testing framework and error checking documentation 2025-04-22 22:42:11 +01:00