-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Run integration tests with pytest #763
Conversation
For posterity: I was seeing "Can't combine line data with arc data". The solution appears to be to add Full traceback:
|
Recon_PYAFQExternalTrk has one file ( |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
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.
Only minor comments
# Install qsiprep wheel | ||
COPY --from=wheelstage /src/qsiprep/dist/*.whl . | ||
RUN pip install --no-cache-dir $( ls *.whl ) | ||
# Install qsiprep |
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.
Won't this add an extra copy of the source code into the container?
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'm not sure. I needed to be able to overwrite the source code when mounting the local version, but the old approach didn't seem to have a copy in the Docker image.
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.
Doesn't the overwritten code live in the site-packages directory?
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.
It's been a little while since I made that change, so my memory is a little fuzzy, but I believe I tried the regular mount point (/usr/local/miniconda/lib/python3.10/site-packages/qsiprep
) and it didn't work with the old way. Def worth revisiting in case I made a mistake there.
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.
Oh wait, I think I remember what the issue was! I didn't know how to install with the test dependencies using the old way.
Closes none.
Changes proposed in this pull request
.circleci/*.sh
into Python functions (i.e., pytests).