Skip to content
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

Only build wheels when label build_wheels is activated. #648

Merged
merged 9 commits into from
Mar 20, 2024

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr commented Mar 19, 2024

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:
The CI is quite heavy and we are looking for ways to alleviate it and speed up the iteration process. The wheels need not be built on each commit. Kudos to @maliasadi for pointing this out.

Description of the Change:
Only build the wheels before merging by labelling the PR ci:build_wheels.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.65%. Comparing base (4aa532e) to head (1fb10c5).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #648      +/-   ##
==========================================
+ Coverage   92.74%   98.65%   +5.90%     
==========================================
  Files          14      173     +159     
  Lines        2454    24592   +22138     
==========================================
+ Hits         2276    24261   +21985     
- Misses        178      331     +153     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vincentmr vincentmr added the ci:build_wheels Activate wheel building. label Mar 19, 2024
@vincentmr vincentmr marked this pull request as ready for review March 19, 2024 20:35
Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a necessary and important addition to our CIs. Thank you for that.

@vincentmr vincentmr requested a review from multiphaseCFD March 20, 2024 12:40
Copy link
Member

@multiphaseCFD multiphaseCFD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks @vincentmr !

@maliasadi maliasadi requested a review from rashidnhm March 20, 2024 13:52
@vincentmr vincentmr removed the ci:build_wheels Activate wheel building. label Mar 20, 2024
vincentmr and others added 2 commits March 20, 2024 11:17
Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
@maliasadi
Copy link
Member

[sc-58649]

.github/CHANGELOG.md Outdated Show resolved Hide resolved
@vincentmr vincentmr added the ci:build_wheels Activate wheel building. label Mar 20, 2024
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Copy link
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@vincentmr vincentmr merged commit 21cc89f into master Mar 20, 2024
85 checks passed
@vincentmr vincentmr deleted the ci/add_ci_build_wheels_label branch March 20, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:build_wheels Activate wheel building.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants