Skip to content

Commit

Permalink
fix: add branch to test results upload (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry authored Jul 15, 2024
1 parent a17031a commit 94215aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codecov_cli/services/upload/upload_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def send_upload_data(
upload_file_type,
upload_url,
git_service,
branch,
encoded_slug,
commit_sha,
report_code,
Expand Down Expand Up @@ -169,6 +170,7 @@ def get_url_and_possibly_update_data(
report_type,
upload_url,
git_service,
branch,
encoded_slug,
commit_sha,
report_code,
Expand All @@ -177,6 +179,7 @@ def get_url_and_possibly_update_data(
url = f"{upload_url}/upload/{git_service}/{encoded_slug}/commits/{commit_sha}/reports/{report_code}/uploads"
elif report_type == "test_results":
data["slug"] = encoded_slug
data["branch"] = branch
data["commit"] = commit_sha
data["service"] = git_service
url = f"{upload_url}/upload/test_results/v1"
Expand Down

0 comments on commit 94215aa

Please sign in to comment.