Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Ensure PHPUnit workflow actually runs #360

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Conversation

swissspidy
Copy link
Member

The reusable CI workflow only runs PHPUnit tests if a phpunit.xml.dist file exists. However, the file here was named phpunit.xml.

https://github.com/wp-cli/.github/blob/9d49256ad710e14157137a2e2e59fa1cd94fd10c/.github/workflows/reusable-testing.yml#L30

phpunit.xml.dist is supposed to be the original config that's in the repo, while phpunit.xml can be used for local overrides that are not committed and thus in .gitignore

@swissspidy swissspidy requested a review from a team as a code owner March 24, 2023 17:56
@swissspidy swissspidy enabled auto-merge March 24, 2023 18:05
@swissspidy swissspidy added this to the 2.4.3 milestone Mar 24, 2023
@swissspidy swissspidy merged commit 203b020 into main Mar 24, 2023
@swissspidy swissspidy deleted the ci-fix-phpunit branch March 24, 2023 18:16
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.

2 participants