Skip to content
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

Report python coverage in terminal #92

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Report python coverage in terminal #92

merged 1 commit into from
Aug 2, 2023

Conversation

bpoumarede
Copy link
Contributor

No description provided.

@@ -61,6 +61,8 @@ def get_execute_command(self) -> list[str] | TaskStatus:
command += [
"--cov-report",
f"{self.coverage.get().get_format()}:{str(self.project.build_directory / coverage_file)}",
"--cov-report",
"term",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed / can we make this configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is available only if coverage is enabled. It is needed for gitlab to print the coverage in the MR.

@ntrinquier ntrinquier merged commit fcb5505 into develop Aug 2, 2023
13 checks passed
@ntrinquier ntrinquier deleted the bp/py-coverage branch August 2, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants