wp-cli / i18n-command

Provides internationalization tools for WordPress projects.
MIT License
96 stars 52 forks source link

CI: Ensure PHPUnit workflow actually runs #360

Closed swissspidy closed 1 year ago

swissspidy commented 1 year ago

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