Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
victorcolombo committed Jun 19, 2023
1 parent 309337f commit 8c4cd80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ jobs:

- name: Run cluster with 4 nodes
run: >
kurtosis run github.com/kurtosis-tech/sei-package@ee5314d1be9ef2af29715017bbea82ed87c142a3 '{"cluster_size": 4, "num_accounts": 10, "image": "sei-chain/localnode", "git_ref": "37cd048c5158fd131f3340c3266d3c48429e1d0d"}' --enclave sei-integration-test
# To run on the current PR
# run: >
# kurtosis run github.com/kurtosis-tech/sei-package@ee5314d1be9ef2af29715017bbea82ed87c142a3 '{"cluster_size": 4, "num_accounts": 10, "image": "sei-chain/localnode", "git_ref": "${{ github.head_ref}}"}' --enclave sei-integration-test
kurtosis run github.com/kurtosis-tech/sei-package '{"cluster_size": 4, "num_accounts": 10, "image": "sei-chain/localnode", "git_ref": "${{ github.head_ref}}"}' --enclave sei-integration-test
- name: Verify Sei Chain is able to start up
run: python3 integration_test/scripts/runner.py integration_test/startup/startup_test.yaml
Expand All @@ -57,7 +54,7 @@ jobs:
- name: Testing Wasm Module
run: |
kurtosis service exec sei-integration-test sei-node-0 integration_test/contracts/deploy_timelocked_token_contract.sh
kurtosis service exec sei-integration-test sei-node-0 integration_test/contracts/deploy_timelocked_token_contract.sh
python3 integration_test/scripts/runner.py integration_test/wasm_module/timelocked_token_delegation_test.yaml
python3 integration_test/scripts/runner.py integration_test/wasm_module/timelocked_token_admin_test.yaml
python3 integration_test/scripts/runner.py integration_test/wasm_module/timelocked_token_withdraw_test.yaml
Expand Down
2 changes: 1 addition & 1 deletion integration_test/scripts/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def run_bash_command(self, command, docker=False, container="", env_map=None, ve
if env_map:
for key in env_map:
envs += f'-e {key}=\'{env_map[key]}\' '
full_cmd = f'docker exec {envs} {container} /bin/bash -c \'export PATH=$PATH:/root/go/bin && {command}\''
full_cmd = f'kurtosis service exec sei-integration-test {container} \'{envs} export PATH=$PATH:/root/go/bin && {command}\''
else:
full_cmd = command
if verbose:
Expand Down

0 comments on commit 8c4cd80

Please sign in to comment.