File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 35
35
path : htmlcov
36
36
github-token : ${{ secrets.GITHUB_TOKEN }}
37
37
run-id : ${{ github.event.workflow_run.id }}
38
- - run : smokeshow upload htmlcov
38
+ # 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
39
49
env :
40
50
SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage}
41
51
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 95
Original file line number Diff line number Diff line change 27
27
strategy :
28
28
matrix :
29
29
python-version :
30
- - " 3.7"
31
30
- " 3.8"
32
31
- " 3.9"
33
32
- " 3.10"
You can’t perform that action at this time.
0 commit comments