File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1818 - " .pre-commit-config-zh-cn.yaml"
1919 - " examples/**"
2020
21+
2122concurrency :
2223 group : ${{ github.workflow }}-${{ github.ref }}
2324 cancel-in-progress : true
9899 python-version : ['3.10']
99100 torch : ['2.4.1']
100101 cuda : ['cu118']
102+ permissions :
103+ pull-requests : write
101104 steps :
102105 - uses : actions/checkout@v3
103106 - name : Set up Python ${{ matrix.python-version }}
@@ -123,6 +126,14 @@ jobs:
123126124127 with :
125128 filename : coverage.xml
129+ format : markdown
130+ hide_branch_rate : false
131+ - name : Add Coverage PR Comment
132+ uses : marocchino/sticky-pull-request-comment@v2
133+ if : github.event_name == 'pull_request'
134+ with :
135+ recreate : true
136+ path : code-coverage-results.md
126137
127138 # build_windows:
128139 # runs-on: windows-2022
You can’t perform that action at this time.
0 commit comments