How to test with different versions of PHP in a GitHub Action
问题 I have some PHP code with tests which run using PHPUnit and wanted to test it on GitHub Actions . I could not find a method in their documentation for testing PHP packages. I want to test using different versions of PHP, but they only have the latest one 7.3 installed. 回答1: You can add this setup-php action in your workflow. If not present, it installs the PHP version(s) you specify with required extensions and various tools like composer. It supports all the virtual environments supported by