-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
RFCRequest for Comment; proposal for major new feature or changes.Request for Comment; proposal for major new feature or changes.
Description
RFC
| Q | A |
|---|---|
| Proposed Version(s) | ? |
| BC Break? | No |
Goal
We want to verify that the tests accompanying a source change do validate the source change.
Background
This was discussed with @ondrejmirtes in private chat.
When receiving a source change, the accompanying tests must be verified for their quality.
In order to do that, we could:
- checkout the changes
- reset source(s) (based on
composer.jsonpaths) to their pre-patch state - run the tests, expect them to fail
Considerations
- what to do when only tests are changed?
- what to do when only sources are changed?
- what to do when
composer.lockchanged together with the tests?
Proposal(s)
- we will need a CLI utility that verifies this behavior inside the continuous-integration container
- we will need to adjust the CI matrix action to generate the appropriate verification job
- we only operate on locked dependencies
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RFCRequest for Comment; proposal for major new feature or changes.Request for Comment; proposal for major new feature or changes.