Skip to content

Commit c875d96

Browse files
committed
nit #10774
1 parent 3bfb5f9 commit c875d96

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/main.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: |
8787
coverage report
8888
coverage json
89-
mv coverage.json feature_branch_coverage.json
89+
mv coverage/python/coverage.json feature_branch_coverage.json
9090
9191
- name: Upload coverage report as artifact
9292
uses: actions/upload-artifact@v4
@@ -178,7 +178,13 @@ jobs:
178178
run: |
179179
coverage report
180180
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
182188
183189
- name: Upload coverage report as artifact
184190
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)