Skip to content

CI: Ensure PHPUnit workflow actually runs#360

Merged
swissspidy merged 1 commit intomainfrom
ci-fix-phpunit
Mar 24, 2023
Merged

CI: Ensure PHPUnit workflow actually runs#360
swissspidy merged 1 commit intomainfrom
ci-fix-phpunit

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