-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script to run full set of backwards compatibility tests #2047
Script to run full set of backwards compatibility tests #2047
Conversation
…et-of-backwards-compatibility-tests
…et-of-backwards-compatibility-tests
…et-of-backwards-compatibility-tests
…ards-compatibility-tests' of https://github.com/cosmos/ibc-go into cian/issue#2029-add-script-to-run-the-full-set-of-backwards-compatibility-tests
@@ -25,7 +25,7 @@ on: | |||
- master | |||
- v0.3.2 | |||
- v0.2.2 | |||
- v0.1.2 | |||
- v0.1.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests should pass with this version once this pr is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is absolute wizardry, @chatton! 🧙♂️
Is it possible to have also a workflow to run this tests from GitHub's UI?
@crodriguezvega I'm not actually sure if it's possible to trigger a workflow from inside a workflow 🤔 , but I don't see why it shouldn't work, I can look into it this! I left it relatively simple for now, the markdown format output let's us do whatever we want with it, and we can always include the output in other workflows or processes. |
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work!
…et-of-backwards-compatibility-tests
Description
This PR introduces a script which reads in a json configuration of tests to run and create a Github Workflow with the specified values.
The script outputs markdown, this makes it easy to just copy paste the output into a github issue to track test results. And also ensures it is easily extendable if we want to automate the creation of github issues using the contents.
Each time we want to run tests against a different set of versions, we just need to make one of these configurations. They will likely be largely similar configurations, with different versions specified. They live under
scripts/test-matricies
The script assumes you have both
jq
andgh
installed.The below is output from running
make compatibility-tests
Raw:
Rendered:
Backwards compatibility tests
Matrix Version: main
TestTransferTestSuite
TestFeeMiddlewareTestSuite
TestInterchainAccountsTestSuite
closes: #2029
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes