mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-01 11:55:23 +00:00
[workflow] fixed test coverage report (#2611)
This commit is contained in:
parent
ae86be1fd2
commit
b3973b995a
4
.github/workflows/report_test_coverage.yml
vendored
4
.github/workflows/report_test_coverage.yml
vendored
@ -2,7 +2,7 @@ name: Report Test Coverage
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [Build]
|
workflows: [Build on PR]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
echo "</details>" >> coverage.txt
|
echo "</details>" >> coverage.txt
|
||||||
|
|
||||||
- name: 'Comment on PR'
|
- name: 'Comment on PR'
|
||||||
if: steps.unzip.outputs.hasReport == "true"
|
if: steps.unzip.outputs.hasReport == 'true'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user