File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,18 @@ jobs:
25
25
- name : Launch tests & generate report
26
26
run : pytest
27
27
28
- - name : Launch the action
28
+ - name : Coverage comment
29
+ id : coverage_comment
29
30
uses : ewjoachim/python-coverage-comment-action@v2
30
31
with :
31
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ GITHUB_TOKEN : ${{ github.token }}
32
33
VERBOSE : true
33
34
34
35
- name : Store Pull Request comment to be posted
35
36
uses : actions/upload-artifact@v2
37
+ if : steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == "true"
36
38
with :
39
+ # If you use a different name, update COMMENT_ARTIFACT_NAME accordingly
37
40
name : python-coverage-comment-action
41
+ # If you use a different name, update COMMENT_FILENAME accordingly
38
42
path : python-coverage-comment-action.txt
You can’t perform that action at this time.
0 commit comments