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

No way to add extra args to pytest coverage collection for label-analysis #77

Closed
thomasrockhu-codecov opened this issue Jun 23, 2023 · 0 comments · Fixed by codecov/codecov-cli#197
Assignees
Labels
bug Something isn't working

Comments

@thomasrockhu-codecov
Copy link
Contributor

thomasrockhu-codecov commented Jun 23, 2023

if I want to run pytest with different args during label-analysis, how do I do that?

You can see here that there's no way to provide extra arguments to when we run pytest --cov=./ etc. Some users want to run it other ways like --cov=atomate2. Would like a way to input this.

@katia-sentry katia-sentry added the bug Something isn't working label Jun 23, 2023
giovanni-guidini added a commit to codecov/codecov-cli that referenced this issue Jul 12, 2023
Adds the coverage_root config option for PythonStandardRunner so users can override the `--cov=./` option.

Fixes [platform-team #77](codecov/engineering-team#77)
giovanni-guidini added a commit to codecov/codecov-cli that referenced this issue Jul 13, 2023
Adds the coverage_root config option for PythonStandardRunner so users can override the `--cov=./` option.

Fixes [platform-team #77](codecov/engineering-team#77)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants