From c91dca32a019a34f3f6e218ec085941db610e55a Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria Date: Mon, 15 Jul 2024 11:42:30 +0200 Subject: [PATCH] Fix Ganache in CI --- .github/workflows/python.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3a09ebc..6658e16 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -2,7 +2,7 @@ name: Python CI on: push: branches: - - master + - main - develop pull_request: release: @@ -65,7 +65,8 @@ jobs: steps: - name: Setup and run ganache run: | - docker run --detach --publish 8545:8545 --network-alias ganache -e DOCKER=true trufflesuite/ganache:latest --defaultBalanceEther 10000 --gasLimit 10000000 -a 30 --chain.chainId 1337 --chain.networkId 1337 -d + docker network create ganache + docker run --detach --publish 8545:8545 --network ganache -e DOCKER=true trufflesuite/ganache:latest --defaultBalanceEther 10000 --gasLimit 10000000 -a 30 --chain.chainId 1337 --chain.networkId 1337 -d - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4