-
Notifications
You must be signed in to change notification settings - Fork 417
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
enable pytest with conda and singularity #691
Conversation
|
So I tried running the tests for
but it failed. I guess it is just a problem with my setup, while this PR is probably fine. Here is the error-log from the test:
...
...
... I tried running one of the failing tests, "Run variant calling on somatic samples with cnvkit", manually like this:
and all the expected output-files are generated. |
Having mount issue with pytest:
I'm assuming your issue might be the same. |
Had to add
|
I'm assuming any other |
Couldn't get |
Well done, @maxulysse. I can confirm that I am now able to run the tests locally with the command:
after first having run
|
### Changed | ||
|
||
- [#679](https://github.com/nf-core/sarek/pull/679) - Back to `dev` | ||
- [#691](https://github.com/nf-core/sarek/pull/691) - To run the same pytest as before locally, use `PROFILE=docker` |
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.
- [#691](https://github.com/nf-core/sarek/pull/691) - To run the same pytest as before locally, use `PROFILE=docker` | |
- [#691](https://github.com/nf-core/sarek/pull/691) - To run the same pytest as before locally, use TMPDIR=~/tmp, and `PROFILE=conda`, `PROFILE=docker` or `PROFILE=singularity`. |
or something like that.
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.
Before we had just docker
, all the rest is new, let's not document that too much for now, as we're still figuring it out ;-)
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.
LGTM
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).