nf-test icon indicating copy to clipboard operation
nf-test copied to clipboard

Conda environment reuse

Open LouisLeNezet opened this issue 1 year ago • 1 comments

Hi, I've stumble on the following behaviour recently. When doing multiple test for a module with a conda profile. The nf-test seems to create a new conda environment for each test. Would it be possible to reuse the same environment ? The environments or containers (singularity, docker) could be created in the folder of the .nf-test with a hash code and reuse if the hash didn't change. This would allow faster tests.

LouisLeNezet avatar Apr 23 '24 15:04 LouisLeNezet

This would be helpful iterating on tests too.

nh13 avatar May 20 '24 06:05 nh13

Thanks! I will close this issue. Please refer to issue #231 for further discussions and updates.

lukfor avatar Jul 13 '24 11:07 lukfor