From 7a1c8cbc740505d737d2d5aa18fd1681b34ee4a1 Mon Sep 17 00:00:00 2001 From: Alexander Cristurean Date: Mon, 4 Nov 2024 15:47:42 +0200 Subject: [PATCH] fix mxpy commands in CI. --- .github/workflows/test-localnet-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-localnet-tests.yml b/.github/workflows/test-localnet-tests.yml index baea51e9..0f4a3b0a 100644 --- a/.github/workflows/test-localnet-tests.yml +++ b/.github/workflows/test-localnet-tests.yml @@ -38,8 +38,8 @@ jobs: run: | # Start the local testnet with mxpy mkdir -p ~/localnet && cd ~/localnet - mxpy localnet setup --configfile=${GITHUB_WORKSPACE}/localnet.toml - nohup mxpy localnet start --configfile=${GITHUB_WORKSPACE}/localnet.toml > localnet.log 2>&1 & echo $! > localnet.pid + python3 -m multiversx_sdk_cli.cli localnet setup --configfile=${GITHUB_WORKSPACE}/localnet.toml + nohup python3 -m multiversx_sdk_cli.cli localnet start --configfile=${GITHUB_WORKSPACE}/localnet.toml > localnet.log 2>&1 & echo $! > localnet.pid sleep 120 # Allow time for the testnet to fully start - name: Test localnet dependent tests