Automated testing pipeline chạy trên GitHub Actions.
- Push to
mainordevelopbranch - Pull requests to
mainordevelop
Tests chạy trên multiple configurations:
PHP Versions:
- PHP 7.4
- PHP 8.0
- PHP 8.1
- PHP 8.2
Dependency Versions:
- prefer-lowest
- prefer-stable
Total: 8 test configurations (4 PHP × 2 dependency versions)
- Install dependencies
- Run PHPUnit test suite
- Generate coverage report
- Upload to Codecov
- Run PHPStan (static analysis)
- Run PHPCS (coding standards)
Add to your README.md:
[](https://github.com/username/jankx-woocommerce/actions)
[](https://github.com/username/jankx-woocommerce)
[](https://codecov.io/gh/username/jankx-woocommerce)Run the same pipeline locally:
make ciThis will:
- Install dependencies
- Run all tests
- Generate coverage report
Continuous Integration ensures code quality on every commit! ✅