Automattic / Automattic/woocommerce-services
Support different versions of PHP in GitHub Actions
- Dominant language
- JavaScript
- Stars
- 112
- Forks
- 31
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 14
Description
### Descriptions
We are testing [PHP 7.4 only](https://github.com/Automattic/woocommerce-services/blob/68fd8318635db34524f8d242231ad04a836d5b7d/.github/workflows/php_tests.yml#L46-L48) in the repository. Maybe we should update this so that we can test multiple PHP versions?
### Output
1. Figure out which PHP versions we need to cover
2. Update matrix to test multiple PHP versions
### Notes
1. Don't overdo too many versions, it will cause the pipeline to increase due to amount of combinations.
2. PHP 8 is blocked by https://github.com/Automattic/woocommerce-services/issues/2258
Contributor guide
Research direction
Start with .github/workflows/php_tests.yml, especially the PHP 7.4 test configuration linked in the issue. Review issue 2258 before deciding which PHP versions can be included, then define a limited version matrix and confirm the workflow runs the test suite for each selected version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, php
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100