Browse Source

👷 Add retries to Smokeshow (#13151)

pull/13114/head
Sebastián Ramírez 3 months ago
committed by GitHub
parent
commit
f229dd97c0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 12
      .github/workflows/smokeshow.yml

12
.github/workflows/smokeshow.yml

@ -40,7 +40,17 @@ jobs:
path: htmlcov
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- run: smokeshow upload htmlcov
# Try 5 times to upload coverage to smokeshow
- name: Upload coverage to Smokeshow
run: |
for i in 1 2 3 4 5; do
if smokeshow upload htmlcov; then
echo "Smokeshow upload success!"
break
fi
echo "Smokeshow upload error, sleep 1 sec and try again."
sleep 1
done
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100

Loading…
Cancel
Save