Commit c875d96 1 parent 3bfb5f9 commit c875d96 Copy full SHA for c875d96
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 86
86
run : |
87
87
coverage report
88
88
coverage json
89
- mv coverage.json feature_branch_coverage.json
89
+ mv coverage/python/coverage .json feature_branch_coverage.json
90
90
91
91
- name : Upload coverage report as artifact
92
92
uses : actions/upload-artifact@v4
@@ -178,7 +178,13 @@ jobs:
178
178
run : |
179
179
coverage report
180
180
coverage json
181
- mv coverage.json target_branch_coverage.json
181
+
182
+ # handles older target branch
183
+ if [ -f coverage/python/coverage.json ]; then
184
+ mv coverage/python/coverage.json target_branch_coverage.json
185
+ else
186
+ mv coverage.json target_branch_coverage.json
187
+ fi
182
188
183
189
- name : Upload coverage report as artifact
184
190
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments