-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Files required in test.source_files
are not found during container test
#52189
Comments
Note that this is following the practice for testthat tests established for Conda Forge, where we don't use |
Maybe even more prohibitive is that tests that need additional dependencies specified in At this point, it seems rather that I require a mechanism to skip certain tests just when testing the container environment. Is there any way to do this? |
I think to disable tests just for the container, you'd have to do some bash-related (or R?) check in the test line itself. You might be able to use an architecture selector to skip a test for linux-64, but then it wouldn't run them at all for that arch. (I haven't tried this myself.) Usually it's been discouraged to run a full suite of unit tests because of CI runner limitations. Not sure if that's a factor here or how extensive the tests you're running are. |
(just to add details here for future reference since you figured this out already) It looks like the code that gets the tests for the mulled build is pretty simple and doesn't support |
Thanks for tracking that down 😊 - yes, that's what I expected might be happening under-the-hood. Seems like it might not be too hard to add functionality to also copy the I may just keep the tests only for OSX as you suggested. It's mostly about checking for version incompatibilities with dependencies and seems I've already gotten out of it what I needed. |
I ended up conditioning on the presence of one of the |
Looks like the biocontainer build section does not properly find the testthat files that are loaded through the
test.source_files
key. Is this a known bug?Log Snippet (link)
Originally posted by @mfansler in #52121 (comment)
The text was updated successfully, but these errors were encountered: