Make a CI process for testing API breaks
ValarDragon opened this issue · 0 comments
ValarDragon commented
Background
We should make a CI process, to test if a PR is making an API breaking change that affects modules we depend on.
Suggested Design
Have a CI workflow / python or bash script that:
- git clones a given version of IBC-go and Wasmd
- Ideally in an adjacent directory to the SDK
- Adds a replace directive to the SDK, for their go.mods
- e.g.
replace github.com/cosmos/cosmos-sdk => /absolute/path/on_filesystem/to/cosmos-sdk
- (Will need to play around with relative path formatting etc. Can start by running the script with an absolute path to test tho)
- e.g.
- Run a build command on IBC-go and Wasmd. (TBD if its literally just make build)
Acceptance Criteria
CI process alerts us to if were making an API break that affects IBC or wasmd.