Upload Summary.txt
parent
a7286de016
commit
33885229e9
|
|
@ -118,12 +118,18 @@ jobs:
|
||||||
name: Coverage
|
name: Coverage
|
||||||
path: build/Coverage
|
path: build/Coverage
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v3.1.1
|
||||||
|
with:
|
||||||
|
name: Summary
|
||||||
|
path: build/Summary.txt
|
||||||
|
|
||||||
- name: Add PR Comment
|
- name: Add PR Comment
|
||||||
if: ${{ github.event.pull_request }}
|
if: ${{ github.event.pull_request }}
|
||||||
uses: mshick/add-pr-comment@v2
|
uses: mshick/add-pr-comment@v2
|
||||||
with:
|
with:
|
||||||
message-path: build/Summary.txt
|
message-path: build/Summary.txt
|
||||||
message-id: "coverage"
|
message-id: "Summary"
|
||||||
|
|
||||||
- name: Report failure
|
- name: Report failure
|
||||||
if: steps.tests_run.outcome == 'failure'
|
if: steps.tests_run.outcome == 'failure'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue