Skip to content

ci: drop inert COMPOSER_ROOT_VERSION from the Pest step - #837

Merged
TheWitness merged 1 commit into
developfrom
ci/enforce-patch-coverage
Sep 29, 2026
Merged

TheWitness merged 1 commit into
developfrom
ci/enforce-patch-coverage

Conversation

@TheWitness

Copy link
Copy Markdown
Member

What

Removes COMPOSER_ROOT_VERSION: 1.3.0-dev from the Run Pest Unit Tests
step's env:.

Why

COMPOSER_ROOT_VERSION only affects Composer's root-package version
detection, which runs during composer install — an earlier step — not
during the Pest run. In the Pest step it is inert, so it is being removed.

This is a small consistency cleanup alongside harmonizing the patch-coverage
CI convention across the plugin fleet (this repo is already the reference
implementation for the Enforce coverage of changed lines gate).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The focused cleanup is correct and does not alter test execution behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Removes an unused Composer environment variable from the Pest test step.

Changes:

  • Deletes the inert COMPOSER_ROOT_VERSION setting from the test execution step.
File Description
.github/​workflows/​plugin-ci-workflow.yml Simplifies the Pest CI step by removing unused configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

COMPOSER_ROOT_VERSION only influences Composer root-version detection, which
does not run in the "Run Pest Unit Tests" step (Composer install happens in
an earlier step). Removing it from that step's env; no behaviour change.

Part of harmonizing the patch-coverage CI convention across the plugin fleet.
@TheWitness
TheWitness force-pushed the ci/enforce-patch-coverage branch from d403a34 to 24e37ef Compare September 29, 2026 18:55
@TheWitness
TheWitness merged commit 5d08f0d into develop Sep 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants