Skip to content

Feat: Skip Performance CI tests for docs and workflows files - #79933

Open
im3dabasia wants to merge 2 commits into
WordPress:trunkfrom
im3dabasia:try/skip-performance-test-for-docs-workflows
Open

Feat: Skip Performance CI tests for docs and workflows files#79933
im3dabasia wants to merge 2 commits into
WordPress:trunkfrom
im3dabasia:try/skip-performance-test-for-docs-workflows

Conversation

@im3dabasia

@im3dabasia im3dabasia commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What?

Part of: #44679

Skip the Performance Tests workflow for PRs that only change docs, workflow YAML files, or Storybook-related files.

Why?

These changes do not affect editor performance, so running the performance workflow for them adds unnecessary CI time.

How?

Adds pull_request.paths-ignore rules in performance.yml for docs, workflow files, and Storybook-only paths.

Testing Instructions

This PR includes a YAML-related file change, and the performance tests did not run. Therefore, I believe this is a reasonable way to validate that the PR works as expected.

@im3dabasia im3dabasia added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Performance Related to performance efforts GitHub Actions Pull requests that update GitHub Actions code and removed [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. labels Jul 7, 2026
pull_request:
paths-ignore:
- 'docs/**'
- '.github/workflows/*.yml'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added this line to verify that the Performance Tests are skipped.

I'll explore skipping the tests for all other .yml files, except performance.yml.

I think we can skip these tests for Storybook-related changes as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The test isn't marked as Skipped; it's marked as Expected by the CI. This might have something to do with the branch protection rules. What do you think, @Mamaduka?

@Mamaduka

Mamaduka commented Jul 7, 2026

Copy link
Copy Markdown
Member

Yes, the performance checks are currently required by CI.

Perf checks are nice for generating data and keeping an eye on regressions, but they don't have to be required for PRs. If something breaks, it should be caught by other required checks. Worth sharing in #block-editor channel for wider feedback.

@im3dabasia
im3dabasia marked this pull request as ready for review July 8, 2026 12:14
@im3dabasia
im3dabasia requested a review from desrosj as a code owner July 8, 2026 12:14
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

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.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

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

@im3dabasia
im3dabasia requested a review from Mamaduka July 10, 2026 05:15
@im3dabasia

Copy link
Copy Markdown
Contributor Author

@Mamaduka, is there any chance we can proceed with this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GitHub Actions Pull requests that update GitHub Actions code [Type] Performance Related to performance efforts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants