-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for test result ingestion in the CLI #347
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #347 +/- ##
==========================================
+ Coverage 95.52% 95.94% +0.42%
==========================================
Files 80 81 +1
Lines 2746 2788 +42
==========================================
+ Hits 2623 2675 +52
+ Misses 123 113 -10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
023f970
to
de08e38
Compare
66e31f9
to
c77b337
Compare
@@ -66,9 +67,17 @@ def send_upload_data( | |||
headers = get_token_header_or_fail(token) | |||
encoded_slug = encode_slug(slug) | |||
upload_url = enterprise_url or CODECOV_API_URL | |||
url = f"{upload_url}/upload/{git_service}/{encoded_slug}/commits/{commit_sha}/reports/{report_code}/uploads" | |||
if upload_file_type == "coverage": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] move this to a separate function
@@ -134,6 +137,10 @@ | |||
"*.zip", | |||
] | |||
|
|||
test_results_files_excluded_patterns = ( | |||
coverage_files_patterns + coverage_files_excluded_patterns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smart
de07b09
to
1a87608
Compare
5c89ba2
to
fc032ff
Compare
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
fc032ff
to
bc18658
Compare
latest push was just to sign all the commits |
Depends on: codecov/codecov-api#218