Skip to content

Run the Behat tests in parallel workers in throwaway containers - #313

Draft
schlessera wants to merge 2 commits into
mainfrom
ci/parallel-docker-behat
Draft

schlessera wants to merge 2 commits into
mainfrom
ci/parallel-docker-behat

Conversation

@schlessera

@schlessera schlessera commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Enables the parallel runner of wp-cli/wp-cli-tests#405 with throwaway Docker containers per worker from wp-cli/wp-cli-tests#408 for the functional tests of all packages.

On core-command and cache-command, this cut the run time of the Behat step by about 68% and 55%, with every job passing (wp-cli/wp-cli-tests#391). WP_CLI_TEST_DOCKER is set to auto, so where Docker cannot be used, on Windows and macOS, for code coverage and where the image cannot be built, wp-cli/wp-cli-tests runs the scenarios without containers and reports why. Versions of wp-cli/wp-cli-tests without these changes ignore both settings.

Draft until wp-cli/wp-cli-tests#405 and #408 are released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added enhancement New feature or request scope:testing labels Oct 31, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request scope:testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant