-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add GitHub Actions Workflows. #471
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #471 +/- ##
===============================================
Coverage ? 92.94%
===============================================
Files ? 130
Lines ? 9773
Branches ? 0
===============================================
Hits ? 9084
Misses ? 689
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
ci/test_notebooks.sh
Outdated
@@ -0,0 +1,62 @@ | |||
#!/bin/bash |
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.
@bdice, I see this test_notebooks.sh
file, but I don't see a corresponding job in pr.yaml
.
Also, it doesn't seem that cucim
notebooks are currently tested in Jenkins PRs.
Therefore, should we punt notebooks testing for cucim
for a separate PR to prevent scope creep?
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.
I was going to make a quick attempt at running notebooks and defer to a later PR if it does not work.
In general, my strategy for all the tasks we want to do in this release is to try things aggressively, and reduce scope if an “optional” task fails after some small, fixed amount of effort. Some bets pay off, others do not, but I try to keep the downside loss (budget of effort for non-essential goals) small.
Here's a summary of the latest
|
I think the On my WSL Ubuntu 22.04 system, I have Some related StackOverflow answers are here: https://stackoverflow.com/questions/55313610/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directo |
I think we have a few potential courses of action:
|
@ajschmidt8 I implemented the first proposed solution here: rapidsai/ci-imgs#31 If you're satisfied with that, we can update the images and retry this PR. edit: We decided against that approach and used a "headless" version of opencv from |
# TODO: Some tests fail unexpectedly on ARM. | ||
ON_AARCH64 = platform.machine() == "aarch64" | ||
ON_AARCH64_REASON = "TODO: Test fails unexpectedly on ARM." |
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.
/merge |
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.
Thanks all! 🙏
Sorry spotted a couple things below that I had questions on. Just want to make sure I'm not missing something
@@ -1,20 +0,0 @@ | |||
# To install the git pre-commit hook run: |
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.
Was this meant to be dropped?
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.
This shouldn't exist as far as I understand. The only config that should matter is in the repo root.
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.
Interestingly it seems we are including this one in MANIFEST.in
though
In any event, agree we should only have this in one place. If we stick to dropping this one, the MANIFEST.in
needs an update
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 catch! Removed from MANIFEST.in
in 93c2c1e.
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.
Thanks Bradley! 🙏
Given the file is still here (just in another location), it is not really being dropped. If it turns out we need to move it for whatever reason, we can do that in a follow up.
/merge |
This PR re-enables pre-commit checks for normalizing whitespace (trimming trailing spaces) that I disabled in #471. These pre-commit hooks existed prior to the GitHub Actions migration but they were not being enforced by CI style checks. I disabled them in #471 because enforcing them would have made the PR diff large. The primary change is in `.pre-commit-config.yaml`, and everything else was automatically fixed by `pre-commit`. ``` # TODO: re-enable this after GitHub Actions migration, it currently makes a # large number of changes that shouldn't go in the GitHub Actions PR. #- repo: https://github.com/pre-commit/pre-commit-hooks # rev: v4.4.0 # hooks: # - id: trailing-whitespace # - id: end-of-file-fixer # - id: debug-statements ``` Authors: - Bradley Dice (https://github.com/bdice) - https://github.com/jakirkham Approvers: - Gregory Lee (https://github.com/grlee77) - Ray Douglass (https://github.com/raydouglass) - https://github.com/jakirkham URL: #474
This PR adds GitHub Actions workflows to
cucim
.Task list
Coverage required for this PR:
C++ tests(There are no C++ tests.)xfail
on ARM following discussion with @jakirkham and @grlee77. Those will be addressed in follow-up work.