Skip to content

Conversation

@priethor
Copy link
Contributor

@priethor priethor commented Nov 26, 2025

What

Expand PHP and Node.js version matrices in CI workflows while optimizing PR time by testing only essential versions on pull requests.

Why

Current workflows only test limited versions, missing potential compatibility issues, but the full version matrix on every PR is slow and resource-intensive.

How

  • e2e.yml: Added Node 20, 22, 24 matrix; PRs test Node 22 only; trunk tests all
  • phpunit.yml: Added PHP 7.4–8.4 matrix; PRs test 7.4 and 8.4 only; trunk tests all
  • Added concurrency control to cancel outdated workflow runs
  • Added workflow_dispatch for manual triggering
  • Added explicit permissions restrictions

Testing Instructions

Check the CI jobs in this PR

@priethor priethor self-assigned this Nov 26, 2025
@priethor priethor changed the title Update e2e and phpunit version matrices Expand CI test matrices and versions Nov 26, 2025
@priethor priethor force-pushed the update/ci-workflows branch from 3fc2d9d to 9e63e31 Compare November 26, 2025 17:50
@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 7.48%. Comparing base (65d8085) to head (417ff67).
⚠️ Report is 1 commits behind head on trunk.

Additional details and impacted files
@@            Coverage Diff             @@
##             trunk    #254      +/-   ##
==========================================
+ Coverage     3.69%   7.48%   +3.78%     
  Complexity    4282    4282              
==========================================
  Files          197     265      +68     
  Lines        26154   33069    +6915     
==========================================
+ Hits           967    2474    +1507     
- Misses       25187   30595    +5408     
Flag Coverage Δ
e2e 21.79% <ø> (?)
phpunit 3.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@priethor priethor force-pushed the update/ci-workflows branch from 9e63e31 to c891dea Compare November 26, 2025 17:52
@priethor priethor force-pushed the update/ci-workflows branch from c891dea to 417ff67 Compare November 26, 2025 17:54
@priethor priethor marked this pull request as ready for review November 26, 2025 17:55
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props priethor.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@priethor priethor merged commit c59f955 into trunk Nov 26, 2025
10 checks passed
@priethor priethor added this to the 6.7.0 milestone Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants