Skip to content

Commit

Permalink
Merge branch 'main' into codecov-entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov authored Jan 15, 2025
2 parents adc7be3 + 4bf285c commit aec3b28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions codecov_cli/services/upload/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def do_upload_logic(
except click.ClickException as exp:
if handle_no_reports_found:
logger.info(
"No coverage reports found. Triggering notificaions without uploading."
"No coverage reports found. Triggering notifications without uploading."
)
upload_completion_logic(
commit_sha=commit_sha,
Expand All @@ -116,7 +116,7 @@ def do_upload_logic(
error=None,
warnings=None,
status_code=200,
text="No coverage reports found. Triggering notificaions without uploading.",
text="No coverage reports found. Triggering notifications without uploading.",
)
else:
raise exp
Expand Down
1 change: 1 addition & 0 deletions codecov_cli/services/upload/file_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"*.yaml",
"*/classycle/report.xml",
"*codecov.yml",
"codecov.yaml",
"*~",
".*coveragerc",
".coverage*",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ tree-sitter==0.20.2
# via codecov-cli (setup.py)
typing-extensions==4.12.2
# via opentelemetry-sdk
urllib3==2.0.6
urllib3==2.2.2
# via
# requests
# responses
Expand Down
4 changes: 2 additions & 2 deletions tests/services/upload/test_upload_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,14 @@ def side_effect(*args, **kwargs):
assert out_bytes == [
(
"info",
"No coverage reports found. Triggering notificaions without uploading.",
"No coverage reports found. Triggering notifications without uploading.",
),
]
assert res == RequestResult(
error=None,
warnings=None,
status_code=200,
text="No coverage reports found. Triggering notificaions without uploading.",
text="No coverage reports found. Triggering notifications without uploading.",
)
mock_select_preparation_plugins.assert_called_with(
cli_config,
Expand Down

0 comments on commit aec3b28

Please sign in to comment.