Commit d73acb7
committed
Refactor PR comment script to streamline summary handling
This commit modifies the `pr_comment.py` script to simplify the handling of summary files during test completion. The script now reads the summary from a predefined `summary_text.txt` file in the workspace instead of requiring it as a command-line argument. This change enhances usability and reduces the likelihood of errors related to missing summary files.
Key changes:
- Removed command-line argument for summary file in the completion command.
- Implemented logic to read summary content from `summary_text.txt`.
- Added warnings for empty or missing summary files to improve feedback during execution.1 parent 2134fc7 commit d73acb7
File tree
2 files changed
+14
-14
lines changed- .github
- actions/run_tests
- workflows
2 files changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 150 | | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
163 | 157 | | |
164 | | - | |
165 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
0 commit comments