Skip to content

Commit

Permalink
test brownie framework
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan committed Dec 2, 2024
1 parent 7eee6dc commit be96c68
Show file tree
Hide file tree
Showing 3 changed files with 586 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,17 @@ jobs:
cd test_run_root
${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}/tests/nodeos_eos_evm_test.py -v --eos-evm-contract-root ${{ steps.evm-contract.outputs.EVM_CONTRACT }} --eos-evm-build-root ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }} --use-miner ${{ steps.eos-evm-miner-build.outputs.EVM_MINER_ROOT }}
- name: Test Leap Integration - with Brownie Framework
run: |
mkdir test_run_root
cd test_run_root
pip install eth-brownie
sudo npm install -g ganache
brownie networks add Ethereum localhost5000 host=http://127.0.0.1:5000 chainid=15555
pip install black
pip install click
${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}/tests/nodeos_eos_evm_brownietest.py -v --eos-evm-contract-root ${{ steps.evm-contract.outputs.EVM_CONTRACT }} --eos-evm-build-root ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }} --use-miner ${{ steps.eos-evm-miner-build.outputs.EVM_MINER_ROOT }}
- name: Test Leap Integration - different gas token
run: |
mkdir -p test_run_root
Expand Down
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ configure_file(nodeos_eos_evm_server.py . COPYONLY)
configure_file(nodeos_eos_evm_test.py . COPYONLY)
configure_file(nodeos_eos_evm_different_token_test.py . COPYONLY)
configure_file(nodeos_eos_evm_gasparam_fork_test.py . COPYONLY)
configure_file(nodeos_eos_evm_brownietest.py . COPYONLY)
configure_file(defertest.wasm . COPYONLY)
configure_file(defertest.abi . COPYONLY)
configure_file(defertest2.wasm . COPYONLY)
Expand Down
Loading

0 comments on commit be96c68

Please sign in to comment.