We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d00768 commit bb02857Copy full SHA for bb02857
.github/workflows/smokeshow.yml
@@ -35,7 +35,17 @@ jobs:
35
path: htmlcov
36
github-token: ${{ secrets.GITHUB_TOKEN }}
37
run-id: ${{ github.event.workflow_run.id }}
38
- - run: smokeshow upload htmlcov
+ # Try 5 times to upload coverage to smokeshow
39
+ - name: Upload coverage to Smokeshow
40
+ run: |
41
+ for i in 1 2 3 4 5; do
42
+ if smokeshow upload htmlcov; then
43
+ echo "Smokeshow upload success!"
44
+ break
45
+ fi
46
+ echo "Smokeshow upload error, sleep 1 sec and try again."
47
+ sleep 1
48
+ done
49
env:
50
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
51
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 95
0 commit comments