Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 1937d85

Browse files
fix: add dry-run logs
1 parent 2442b48 commit 1937d85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

codecov_cli/services/upload/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,10 @@ def do_upload_logic(
165165
status_code=200,
166166
text="Data NOT sent to Codecov because of dry-run option",
167167
)
168+
with open('coverage_report.txt', 'w+') as f:
169+
print(upload_data)
170+
f.write('\n'.join(upload_data.network))
171+
f.write("<<< network")
172+
f.write('\n'.join(upload_data.file_fixes))
168173
log_warnings_and_errors_if_any(sending_result, "Upload", fail_on_error)
169174
return sending_result

0 commit comments

Comments
 (0)