-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
CI Should pip install from the repo #1781
Comments
Hi @chayim can I pick this? |
I'm not sure if |
@hartwork I wouldn't do a git+file install, but git+https:// which should help. The reality is that we have tests for the packages we build - each in their own environment. But, we don't have tests for the repo code itself, which I think is important! At the very least, this helps improve things, another step. |
Thanks @ashwani99. Give it a go! |
@chayim I don't feel my point at #1781 (comment) above has been heard. Are you aware of the limitations of PS: For |
@hartwork I think we're on the same page. Yes, we'll need our CI to inject the commit hash and branch (available in ${GITHUB_SHA} and ${GITHUB_REF} respectively). This does not solve that limitation - but it does help move the ball with regards to other testing. |
Currently, our CI builds packages and runs unit tests against the build package. However, we don't try to pip install directly from the repo - another valid install case. This has been highlighted by bug #1625, and it's multiple fixes. Ideally the .github/workflows/integration.yaml would change, to also trigger a pure pip install of the package. Usage of other tools (i.e conda?) would make sense as well.
Actions:
The text was updated successfully, but these errors were encountered: