You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trouble understanding the content of the virtual environment used when running uv run pytest. Namely, during my CI pipeline, I test
build
install
pytest
And I want to test installed package. What would be the way to do so?
For example, is the following what I want?
uv build
uv pip install dist/my-wheel.whl[extra]
uv run pytest
I'm not at all sure what to do. What's confusing to me is that the uv doc clearcly states that dev dependencies are installed by default in the virtual environment, but there's no similar mention for extras (whether they're installed).
Thanks in advance.
The text was updated successfully, but these errors were encountered:
ego-thales
changed the title
CI, pytest and extra vs env.
[Q&A] CI, pytest and extra vs env.
Jan 16, 2025
Hello,
I have trouble understanding the content of the virtual environment used when running
uv run pytest
. Namely, during my CI pipeline, I testAnd I want to test installed package. What would be the way to do so?
For example, is the following what I want?
I'm not at all sure what to do. What's confusing to me is that the
uv
doc clearcly states thatdev
dependencies are installed by default in the virtual environment, but there's no similar mention for extras (whether they're installed).Thanks in advance.
The text was updated successfully, but these errors were encountered: