Skip to content

Commit

Permalink
skip test
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Nov 18, 2023
1 parent b5059f2 commit 1f3f096
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test API Endpoints

on: [push, pull_request]
on: [push]

jobs:
generate-matrix:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1f3f096

Please sign in to comment.