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

Allow users to change coverage root for python runner #197

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

giovanni-guidini
Copy link
Contributor

Adds the coverage_root config option for PythonStandardRunner so users can override the --cov=./ option.

Fixes platform-team #77

Adds the coverage_root config option for PythonStandardRunner so users can override the `--cov=./` option.

Fixes [platform-team #77](codecov/engineering-team#77)
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #197 (9ba255a) into master (9d671c5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #197   +/-   ##
=======================================
  Coverage   95.67%   95.68%           
=======================================
  Files          70       70           
  Lines        2475     2478    +3     
=======================================
+ Hits         2368     2371    +3     
  Misses        107      107           
Flag Coverage Δ
python3.10 95.68% <100.00%> (+<0.01%) ⬆️
python3.7 95.67% <100.00%> (+<0.01%) ⬆️
python3.8 95.68% <100.00%> (+<0.01%) ⬆️
python3.9 95.68% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
codecov_cli/runners/python_standard_runner.py 98.33% <100.00%> (+0.04%) ⬆️

@giovanni-guidini giovanni-guidini merged commit 787cf38 into master Jul 13, 2023
7 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/coverage-root-option branch July 13, 2023 10:28
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.

No way to add extra args to pytest coverage collection for label-analysis
2 participants