Skip to content
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

[BP: v7 <- #775] local-ic: CI test with Python #849

Merged
merged 2 commits into from
Oct 27, 2023
Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 27, 2023

This is an automatic backport of pull request #775 done by Mergify.
Cherry-pick of 75d3279 has failed:

On branch mergify/bp/v7/pr-775
Your branch is up to date with 'origin/v7'.

You are currently cherry-picking commit 75d3279.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   .github/workflows/local-interchain.yaml
	new file:   local-interchain/python/api_test.py
	renamed:    local-interchain/scripts/daodao.py -> local-interchain/python/daodao.py
	renamed:    local-interchain/scripts/helpers/__init__.py -> local-interchain/python/helpers/__init__.py
	renamed:    local-interchain/scripts/helpers/cosmwasm.py -> local-interchain/python/helpers/cosmwasm.py
	renamed:    local-interchain/scripts/example_req.bash -> local-interchain/python/helpers/example_req.bash
	renamed:    local-interchain/scripts/helpers/file_cache.py -> local-interchain/python/helpers/file_cache.py
	renamed:    local-interchain/scripts/helpers/relayer.py -> local-interchain/python/helpers/relayer.py
	new file:   local-interchain/python/helpers/testing.py
	renamed:    local-interchain/scripts/helpers/transactions.py -> local-interchain/python/helpers/transactions.py
	renamed:    local-interchain/scripts/ibc_contract.py -> local-interchain/python/ibc_contract.py
	new file:   local-interchain/python/requirements.txt
	new file:   local-interchain/python/util_base.py
	deleted:    local-interchain/scripts/api_test.py
	deleted:    local-interchain/scripts/util_base.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   go.work.sum
	both modified:   local-interchain/go.mod
	both modified:   local-interchain/go.sum

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* 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
@mergify mergify bot requested a review from a team as a code owner October 27, 2023 00:24
@mergify mergify bot requested a review from jtieri October 27, 2023 00:24
@mergify mergify bot merged commit 35f277c into v7 Oct 27, 2023
11 checks passed
@mergify mergify bot deleted the mergify/bp/v7/pr-775 branch October 27, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant