File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Smokeshow
2
+
3
+ on :
4
+ workflow_run :
5
+ workflows : [Test]
6
+ types : [completed]
7
+
8
+ permissions :
9
+ statuses : write
10
+
11
+ jobs :
12
+ smokeshow :
13
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Dump GitHub context
18
+ env :
19
+ GITHUB_CONTEXT : ${{ toJson(github) }}
20
+ run : echo "$GITHUB_CONTEXT"
21
+ - uses : actions/setup-python@v5
22
+ with :
23
+ python-version : ' 3.9'
24
+
25
+ - run : pip install smokeshow
26
+
27
+
28
+ with :
29
+ workflow : test.yml
30
+ commit : ${{ github.event.workflow_run.head_sha }}
31
+
32
+ - run : smokeshow upload coverage-html
33
+ env :
34
+ SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage}
35
+ SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 100
36
+ SMOKESHOW_GITHUB_CONTEXT : coverage
37
+ SMOKESHOW_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
+ SMOKESHOW_GITHUB_PR_HEAD_SHA : ${{ github.event.workflow_run.head_sha }}
39
+ SMOKESHOW_AUTH_KEY : ${{ secrets.SMOKESHOW_AUTH_KEY }}
You can’t perform that action at this time.
0 commit comments