-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remove DesiTest; support pytest #464
Conversation
Tests are failing due to impossible dependency resolutions, so the test matrix will also need to be updated. |
It looks like it is not possible to compile |
hi @weaverba137, @sbailey just checking if this PR is going to be merged soon-ish (checks from my PR are failing because of the issue solved by this PR, I think: https://github.com/desihub/fiberassign/pull/466/checks). |
@weaverba137 this PR removes DesiTest, thus fully dropping support for
instead of We could probably merge this anyway, but I'd like to understand whether pytest works and document any gotchas here. |
That is a great question. I will have to do a deep dive into the repository history. For example, the test may have been copied from a Travis test written by someone else. |
The The test was changed in c7ca950, which has the comment "Ensure that we run travis tests with the installed copy of the package." So I think what's happening here is that |
Thanks for checking. Please try to confirm that pytest works for fiberassign, which I think means running
I'm currently stuck on the first step on my laptop, but it hopefully would work within the github actions container or other places that you might have access to. If that becomes onerous, we could also probably merge now and revisit pytest next week when NERSC is back, and separately deal with how to in-place compile fiberassign at other locations. |
|
Ugh, pytest is interpreting a particular function inside |
OK, goal achieved: fiberassign can be tested with bare |
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.
Looks good, thanks for the work to get bare pytest working.
This PR removes
DesiTest
as requested in desihub/desiutil#215.