-
Notifications
You must be signed in to change notification settings - Fork 49
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: add build-wheel job #812
ci: add build-wheel job #812
Conversation
Example wheel for this PR (812): https://github.com/rdmorganiser/rdmo/suites/17875312643/artifacts/1026211993 |
Does this work for you, @MyPyDavid? Can you try to install the wheel from the uploaded artifact? |
Not directly, the filename needs to follow a certain pattern.
I cant really find an easy explanation for this. Maybe just keep a simple filename with that pattern? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
nice! We could add it to rdmo-docs-en eventually, to include it in dev setup docs as a pre-release or feature-preview set up right? |
This comment was marked as resolved.
This comment was marked as resolved.
yes, I could install it and it runs! eg. |
Where do you want the +? Please give me the desired wheel name and I will adapt the rename step. |
Sorry, my suggestion would be
I would also be ok with just the public version. |
ok after reading this:
I think |
Does the name work for you @MyPyDavid? Then I would merge the PR after your approval. |
b2e059b
to
7966a28
Compare
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.
yes for the name with dev
in it
Description
I added a CI job
build-wheel
, that runs on each pull request.The job will build the frontend bundle using webpack and then build a python wheel.
The wheel will be renamed from the default name rdmo-{version}-py3-none-any.whl (e.g.
rdmo-2.0.2-py3-none-any.whl
) to rdmo-{version}-pr{pr-number}-py3-none-any.whl (e.g.rdmo-2.0.2-pr-802-py3-none-any.whl
). This enables developers to install the wheel locally or on their test servers and then test the changes of a PR. The renaming makes it easier to tell the difference between wheels from different PRs.Is the renaming reasonable or should it I remove this step?
Related issue: #802
Types of Changes
Checklist