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 3535 path : htmlcov 
3636 github-token : ${{ secrets.GITHUB_TOKEN }} 
3737 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 
3949env :
4050 SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage} 
4151 SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 95 
Original file line number Diff line number Diff line change 2727 strategy :
2828 matrix :
2929 python-version :
30-  - " 3.7" 
3130 - " 3.8" 
3231 - " 3.9" 
3332 - " 3.10" 
                         You can’t perform that action at this time. 
           
                  
0 commit comments