-
Notifications
You must be signed in to change notification settings - Fork 14
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
test: add tests on handling of duplicate matrix selectors #102
Conversation
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 is fine, but if it was me, I would have modified rapidsai/devcontainers#365 (comment) to detect if the user is overriding cuda_suffixed
to avoid passing more than one value.
Let's explicitly document this behavior too.
The simplest implementation I can think of involves tracking the defaults as a bash associative array, splitting each That was more complexity than I was comfortable with for this purpose, but I'm willing to try it. Let's please not hold up rapidsai/devcontainers#365 or this PR for that though. I'd like to try to get rapidsai/devcontainers#365 and the corresponding
Document what, where? I don't understand what you're asking for, sorry. |
Document the fact that the last duplicate is the one that DFG actually uses, which is what this PR is all about. |
Sure, but I'm not sure where you were looking for docs to be added (doc strings in code? the README? one of those, but over in the I pushed cfe81b4 adding a line to the README, is that what you were looking for? |
The README, because that's what the end user is going to see. |
Gotchu! Ok yeah no problem, I agree that's a good addition. Thanks for the quick review, always appreciated! |
🎉 This PR is included in version 1.15.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Contributes to rapidsai/build-planning#31.
Over in rapidsai/devcontainers#365, I'm proposing a change that depends on how
rapids-dependency-file-generator
handles duplicates in--matrix
selectors.See rapidsai/devcontainers#365 (comment).
This proposes adding tests covering that behavior, to reduce the risk of accidentally removing that support in future refactorings.