Skip to content

Only run PHP tests when PHP-related files change - #34

Merged
duncanmcclean merged 1 commit into
1.xfrom
skip-tests-for-unrelated-changes
Nov 24, 2026
Merged

duncanmcclean merged 1 commit into
1.xfrom
skip-tests-for-unrelated-changes

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request adds path filters to the test suite workflow, so the PHP tests only run when PHP-related files change. A change to the README, for example, no longer runs the test suite.

The list of paths matches the one used in the statamic/cms test workflow.

Amp thread: https://ampcode.com/threads/T-01a20e63-605e-73ef-8dd0-976323b6f016

@duncanmcclean
duncanmcclean merged commit 1fe9a25 into 1.x Nov 24, 2026
17 checks passed
@duncanmcclean
duncanmcclean deleted the skip-tests-for-unrelated-changes branch November 24, 2026 16:44
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.

1 participant