Open morozov opened 1 week ago
As of https://github.com/doctrine/dbal/pull/6624, we want to test only the lowest, highest and nightly PHP versions. Additionally, we may test the intermediate PHP versions if there's a dedicated code path used to support them (to be determined by code coverage).
The goal is to provide high test coverage of the library code together with various supported dependencies while keeping the number of test jobs to the necessary minimum.
Types of Dependencies
Database Platform Versions to be Tested
Proposed Pattern
pdo_sqlite
(our historical default driver).Code Coverage
Code coverage can serve as an indicator of over- or under-testing. If the removal of a job that uses some intermediate dependency version(s) does not result in a drop in code coverage, it means that no dedicated code path exists for this configuration. In such a case, it is a strong signal of that testing this configuration is unnecessary, and thus, we don't want to spend machine time testing it.