diff --git a/.github/workflows/local.yaml b/.github/workflows/local.yaml index f11513d..d0de528 100644 --- a/.github/workflows/local.yaml +++ b/.github/workflows/local.yaml @@ -28,7 +28,14 @@ jobs: echo "Processing para chain: $para_chain, relay chain: $relay_chain" # Call Python script with para_chain and relay_chain as arguments python ./testdata/generate_json.py --relay "$relay_chain" --para "$para_chain" --network "local" - kurtosis run . --args-file ./testdata/updated_config.json --enclave polkadot + kurtosis run . --args-file ./testdata/updated_config.json --enclave polkadot || true + + # Check if Kurtosis command failed + if [ $? -ne 0 ]; then + echo "Chain $para_chain failed." + else + echo "Chain $para_chain succeeded." + fi done < ./testdata/chain_value.csv diff --git a/.github/workflows/mainnet.yaml b/.github/workflows/mainnet.yaml index 1e6f9da..c9d077f 100644 --- a/.github/workflows/mainnet.yaml +++ b/.github/workflows/mainnet.yaml @@ -28,7 +28,14 @@ jobs: echo "Processing para chain: $para_chain, relay chain: $relay_chain" # Call Python script with para_chain and relay_chain as arguments python ./testdata/generate_json.py --relay "$relay_chain" --para "$para_chain" --network "mainnet" - kurtosis run . --args-file ./testdata/updated_config.json --enclave polkadot + kurtosis run . --args-file ./testdata/updated_config.json --enclave polkadot || true + + # Check if Kurtosis command failed + if [ $? -ne 0 ]; then + echo "Chain $para_chain failed." + else + echo "Chain $para_chain succeeded." + fi done < ./testdata/chain_value.csv diff --git a/.github/workflows/testnet.yaml b/.github/workflows/testnet.yaml index 4699262..d245001 100644 --- a/.github/workflows/testnet.yaml +++ b/.github/workflows/testnet.yaml @@ -28,7 +28,14 @@ jobs: echo "Processing para chain: $para_chain, relay chain: $relay_chain" # Call Python script with para_chain and relay_chain as arguments python ./testdata/generate_json.py --relay "$relay_chain" --para "$para_chain" --network "testnet" - kurtosis run . --args-file ./testdata/updated_config.json --enclave polkadot + kurtosis run . --args-file ./testdata/updated_config.json --enclave polkadot || true + + # Check if Kurtosis command failed + if [ $? -ne 0 ]; then + echo "Chain $para_chain failed." + else + echo "Chain $para_chain succeeded." + fi done < ./testdata/chain_value.csv