Skip to content

Conversation

@GaryJones
Copy link
Contributor

Replace SVN-based test setup with @wordpress/env.

Changes:

  • Use wp-env to set up WordPress test environment
  • Update matrix: 'latest' → '6.8', 'trunk' → 'master'
  • Rename composer scripts: test/test-ms → test-integration/test-integration-ms
  • Remove SVN dependency

🤖 Generated with Claude Code

@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Nov 6, 2025
@GaryJones GaryJones requested a review from Copilot November 6, 2025 11:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the integration testing setup by migrating from a traditional WordPress test installation using MySQL and SVN to using wp-env, WordPress's official local development environment tool. This simplifies the CI/CD pipeline and makes the setup more maintainable.

Key changes:

  • Replaces manual WordPress test environment setup with wp-env based commands
  • Removes dependencies on MySQL service and SVN in the CI workflow
  • Updates composer scripts to use wp-env run commands for executing tests

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
composer.json Replaces prepare-ci, test, and test-ms scripts with new test-integration and test-integration-ms scripts that use wp-env
.github/workflows/integrations.yml Updates CI workflow to install and use wp-env instead of manual MySQL/SVN setup

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Replace SVN-based test setup with @wordpress/env.

Changes:
- Use wp-env to set up WordPress test environment
- Update matrix: 'latest' → '6.8', 'trunk' → 'master'
- Rename composer scripts: test/test-ms → test-integration/test-integration-ms
- Remove SVN dependency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@GaryJones GaryJones force-pushed the feat/migrate-to-wp-env branch from 8feb48f to b22c74e Compare November 6, 2025 13:12
@GaryJones GaryJones merged commit e7d9224 into develop Nov 6, 2025
8 checks passed
@GaryJones GaryJones deleted the feat/migrate-to-wp-env branch November 6, 2025 13:19
@GaryJones GaryJones added this to the Next milestone Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants