Skip to content

Commit

Permalink
feat: add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Apr 18, 2024
1 parent e335022 commit 2af6b97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@ jobs:
status=""
while [[ "$status" != "completed" ]]; do
echo "checking..."
sleep 10
response=$(curl -H "Authorization: token $TOKEN" $workflow_url)
status=$(echo "$response" | jq -r .status)
echo "current status: $status"
done
conclusion=$(echo "$response" | jq -r .conclusion)
echo "The conclusion of the workflow run is: $conclusion"
if [[ "$conclusion" != "success" ]]; then
echo "Workflow failed"
exit 1
Expand Down

0 comments on commit 2af6b97

Please sign in to comment.