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

PIP runner introduction #6072

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

richtja
Copy link
Contributor

@richtja richtja commented Nov 26, 2024

This PR introduces a new dependency runner called pip. With this runner, avocado will be able to manipulate with python packages in test environment based on the test dependency configuration. The runner will install pip into the test environment, and then it can call pip install or pip uninstall commands. For example, this feature can be used for running coverage.py inside different environments than process.

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 45 lines in your changes missing coverage. Please review.

Project coverage is 54.34%. Comparing base (f452aa5) to head (f7e4e99).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
avocado/plugins/runners/pip.py 0.00% 45 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6072      +/-   ##
==========================================
- Coverage   54.47%   54.34%   -0.13%     
==========================================
  Files         202      203       +1     
  Lines       21892    21937      +45     
==========================================
- Hits        11925    11921       -4     
- Misses       9967    10016      +49     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This commit introduces a new dependency runner called `pip`. With this
runner, avocado will be able to manipulate with python packages in test
environment based on the test dependency configuration. The runner will
install pip into the test environment, and then it can call `pip
install` or `pip uninstall` commands. For example, this feature can be
used for running `coverage.py` inside different environments than
process.

Signed-off-by: Jan Richter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Review Requested
Development

Successfully merging this pull request may close these issues.

1 participant