File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ permissions:
10
10
11
11
jobs :
12
12
smokeshow :
13
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
14
13
runs-on : ubuntu-latest
15
14
16
15
steps :
17
16
- uses : actions/setup-python@v5
18
17
with :
19
18
python-version : ' 3.12'
20
19
21
- - run : pip install smokeshow
20
+ - run : pip install ' smokeshow>=0.5'
22
21
23
22
- uses : dawidd6/action-download-artifact@v6
24
23
with :
27
26
allow_forks : true
28
27
29
28
- run : smokeshow upload coverage-html
29
+ if : hashFiles('coverage-html/*.html') != ''
30
30
env :
31
31
SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage}
32
32
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 95
36
36
SMOKESHOW_AUTH_KEY : ${{ secrets.SMOKESHOW_AUTH_KEY }}
37
37
38
38
- run : smokeshow upload diff-coverage-html
39
+ if : hashFiles('diff-coverage-html/*.html') != ''
39
40
env :
40
- SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Diff coverage report
41
+ SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Diff coverage {coverage-percentage}
42
+ SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 95
41
43
SMOKESHOW_GITHUB_CONTEXT : diff-coverage
42
44
SMOKESHOW_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
45
SMOKESHOW_GITHUB_PR_HEAD_SHA : ${{ github.event.workflow_run.head_sha }}
You can’t perform that action at this time.
0 commit comments