Skip to content

Conversation

@johnbillion
Copy link
Member

@johnbillion johnbillion commented Aug 11, 2025

The test execution has been deleted just to speed up the feedback loop. That bit won't be committed.

Before After

Trac ticket: https://core.trac.wordpress.org/ticket/63170

@johnbillion johnbillion marked this pull request as ready for review August 11, 2025 23:31
@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 johnbillion. 

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

@johnbillion johnbillion changed the title #63170 Tweak e2e test names #63170 Tweak e2e test workflow names Aug 11, 2025
Copy link
Member

@desrosj desrosj left a comment

Choose a reason for hiding this comment

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

👍 Just one small doc request.

fail-fast: false
matrix:
LOCAL_SCRIPT_DEBUG: [ true, false ]
label: [ 'E2E Tests' ]
Copy link
Member

Choose a reason for hiding this comment

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

Neat trick! Just disappointing that it needs to be this way for the nesting to work properly.

It's not obvious at first glance why this is here. I'm thinking an inline comment above label briefly explaining why it's there would be good for our future selves.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

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

Nice ✨

Pre-Approving. Let one minor non-blocking feedback

# Runs the end-to-end test suite.
e2e-tests:
name: Test with SCRIPT_DEBUG ${{ matrix.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }}
name: ${{ matrix.label }}
Copy link
Member

Choose a reason for hiding this comment

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

Nit: As we don't use the label else where can we use label directly here?

Suggested change
name: ${{ matrix.label }}
name: E2E Tests
Copy link
Member Author

Choose a reason for hiding this comment

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

This is actually a trick to get the UI in GitHub Actions to do what we want. A matrix value is needed in the name directive for proper grouping in the GitHub UI.

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

Labels

None yet

3 participants