From 1f3f096e4223d32434b7dce24e18ea64ab842825 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Sat, 18 Nov 2023 15:30:24 +0300 Subject: [PATCH] skip test --- .github/workflows/api.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 8a7c190..8375009 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -1,6 +1,6 @@ name: Test API Endpoints -on: [push, pull_request] +on: [push] jobs: generate-matrix: @@ -39,11 +39,14 @@ jobs: elif [ "$type" = "tendermint-http" ]; then response=$(curl -s "${url}/status") status_check=$(echo "$response" | jq -e '.jsonrpc' &> /dev/null && echo "true" || echo "false") + else + echo "⏭️ Skipping unsupported endpoint type: $type" + status_check="skip" fi if [ "$status_check" = "true" ]; then echo "✅ $url - Successful" - else + elif [ "$status_check" = "false" ]; then echo "❌ $url - Failed" echo "test_failed=true" >> $GITHUB_ENV fi