-
Notifications
You must be signed in to change notification settings - Fork 128
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
local-ic: CI test with Python #775
Conversation
Pull request was converted to draft
I am putting PR #785 ahead, so put this back on draft. Will fix after getting that in since it is the more feature complete version now |
local-interchain/python/api_test.py
Outdated
# this query returns a dict with suply as the key, validate it is there | ||
assert "supply" in rb.query("bank total") | ||
|
||
rb.query("bank balances juno10r39fueph9fq7a6lgswu4zdsg8t3gxlq670lt0 --output=json") |
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.
Is there supposed to be an assert after this?
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.
Yes! Good catch - d5928ea
* attempt local-ic start & python script test * requirements httpx file * cli: add app overrides for port and address * ci: upload artifact, setup for python script test matrix * run e2e test in local interchain * run local-ic from /tmp (after archive download) * chmod +x /tmp/local-ic * add ibc-contract relayer test matrix * confirm api_test fail properly breaks api_test * poll_for_start in all python contracts * api_test assertions * api_test: resolve dict form * Add global python arg parsing (api-port & address) * attempt: multi port python script CI * Move scripts/ to python/ folder instead * update CI to use the new ./python repo * cw file cache: upload if no file found * remove new line in get_chain_start_time_from_logs * remove cw cache for now * re-add modified cw cache for dupe code-id upload * minor cache tweak * only start API after all setup is complete * minor: touchups & nits * match start.go to main * fix: python test * add ability to override tx broadcast sleeping * re-add tx_test() * minor: naming * balances assertion in binary test (cherry picked from commit 75d3279) # Conflicts: # go.work.sum # local-interchain/go.mod # local-interchain/go.sum
* local-ic: CI test with Python (#775) * attempt local-ic start & python script test * requirements httpx file * cli: add app overrides for port and address * ci: upload artifact, setup for python script test matrix * run e2e test in local interchain * run local-ic from /tmp (after archive download) * chmod +x /tmp/local-ic * add ibc-contract relayer test matrix * confirm api_test fail properly breaks api_test * poll_for_start in all python contracts * api_test assertions * api_test: resolve dict form * Add global python arg parsing (api-port & address) * attempt: multi port python script CI * Move scripts/ to python/ folder instead * update CI to use the new ./python repo * cw file cache: upload if no file found * remove new line in get_chain_start_time_from_logs * remove cw cache for now * re-add modified cw cache for dupe code-id upload * minor cache tweak * only start API after all setup is complete * minor: touchups & nits * match start.go to main * fix: python test * add ability to override tx broadcast sleeping * re-add tx_test() * minor: naming * balances assertion in binary test (cherry picked from commit 75d3279) # Conflicts: # go.work.sum # local-interchain/go.mod # local-interchain/go.sum * mod tidy --------- Co-authored-by: Reece Williams <[email protected]> Co-authored-by: Reece Williams <[email protected]>
closes: #763
summary
Adds a python based local-interchain test CI pipeline
features
todo