-
Notifications
You must be signed in to change notification settings - Fork 4
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
tests-pytest and doc-build actions fail for pyansys-advanced with poetry template #348
Comments
Hi. I was looking at this recently and had issues pytest: command not found. |
Hi @philipjusher thanks for commenting and using our actions! Could you share a Code snippet of the changes you performed so that we understand your issues and solution? Really appreciated! A URL also works =) |
Here is the snippet from the github action that calls tests-pytest I think it what you need. So you set the POETRY_VIRTUALENVS_CREATE to false either as repo variable or you could write in your pipeline.
This means that it doesnt create a virtual environment so you dont get the problem of |
Hi @philipjusher - the way we have it right now is that poetry (in case of tests) tries to install a group called If you have pytest defined inside your group, this should solve your issues. You should also define your test dependencies inside it. |
I checked that first |
Gotcha! Thanks for the explanation. I will add this right away directly inside the various poetry actions. Thanks a bunch! |
https://github.com/ansys/pyfluent-reader/actions/runs/6469381862/job/17563451958#step:2:451
https://github.com/ansys/pyfluent-reader/actions/runs/6469381862/job/17563344927#step:2:1063
The text was updated successfully, but these errors were encountered: