-
Notifications
You must be signed in to change notification settings - Fork 12
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
Feature install action #236
Conversation
I think you can safely
My plan is the following: Bump version number, add git tag, and push. The action then publishes to test.pypi, waits and installs from test.pypi (similar to your test here). If that works, I would manually make a release on GitHub which publishes to PyPI. But I can add that myself drawing inspiration from the |
With my other comment, you don’t actually need to |
I am at a loss here, neither
(failing with
(failing with |
This is because some tests load parts of others with |
If we really do all tests after a local install, then we could ditch the other job. But I think having |
Yes, the other job would be unnecessary then, but I prefer it like this. |
Very good. Have you seen my other two comments in the code? I think it doesn’t test the PR it is called by right now. |
Sorry, no, I don't see other comments. Where can I find them?
You mean this PR #236? When I push to the branch, it tells me something along the lines "new workflow needs authorisation by a maintainer". As you (I guess) approved this, the workflows were tested, and for me it says "All checks have passed. 8 successful checks". By the way, thanks for responding so quickly, this is a positive experience! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, first time using the review feature. Didn’t know I need to submit the comments again.
Hopefully, this is fixed now with my last commit on master. |
Addressed your comments :) |
Thank you for working it out, it looks very good. If you are okay with that, I will squash all your commits into one and force push to this branch to reduce clutter. You will still be the author (just not the committer) of the squashed commit. But you shouldn’t continue working on top of your commits for now. |
Sounds good |
2712ea7
to
89052c9
Compare
Add new job to test.yml for testing installation, responding to #235. This takes care of the first part, testing the local installation.
The shell test is not included (yet), as there is a dependence on the local path. If I
cd
to the package directory to have this path available, it is not a test of the execution anymore IIUC. Any idea for a fix there, or should we just leave that test out?Regarding the test after pushing to PyPi: my understanding is that the GitHub Actions are executed responding to changes in the repository. This
publish.yml
would have to be executed after a push to PyPi, do you know of a way to trigger this?