-
-
Notifications
You must be signed in to change notification settings - Fork 252
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: build artifacts on every push and pull #378
Conversation
✅ Deploy Preview for robyn canceled.
|
Hey @AntoineRR 👋 The rationale behind this is that the top-level tag checking doesn't allow the jobs to run on every PR, and hence we won't be generating build artifacts when required. |
Yes that was the goal of my previous PR actually, but I had no idea you used the artifacts from PR sorry. I found it overkill to build the package for every OS, and every Python version on each PR. I think there are way too many jobs running in PRs (more than 120 in this PR currently!). Maybe we could only build one package for windows, linux and macos on PRs (based on Python 3.11 for example)? This way we would still have artifacts to test, but only 3 instead of I think 45 currently. To achieve this, I would create a new workflow (called preview build maybe) that runs on PRs and keep the release workflow as it is. What do you think @sansyrox ? Let me know if I misunderstood your needs around build artifacts. |
This is a great suggestion. Let's build the packages for the latest versions only |
Thanks! Let me know if you need help for this 😄 |
5e1d44d
to
41a6d41
Compare
41a6d41
to
2e2c72c
Compare
@AntoineRR , can you have another review whenever you get the time? |
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.
@sansyrox I left you some comments 🙂
Two more things here:
- I think we could merge the last two jobs,
linux
andlinux-cross
together, it should be possible I think - Is there an issue with the commit history? I think you merged your changes with one of my previous commit based on the commit message. Maybe you should reopen a new PR if it is too hard to fix?
902ff36
to
42cde30
Compare
…g creation only (#370)
4ece89b
to
e446939
Compare
Thanks for the suggestions 😄
These two environments require different logic. It will make the pipeline unnecessarily complex in my opinion.
All fixed :D |
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.
There are some minor adjustments needed, but this looks great otherwise, good job! 😉
e446939
to
6076bde
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.
Good job @sansyrox, LGTM! 👍
Description
Changing this as I want to build an artifact on every PR. That way it will be easier for us to just download the artifact and test it on our PC.