I'm getting the below error when I try to `bump-ve...
# tools
d
I'm getting the below error when I try to
bump-version
. I thought test snaps would just take care of themselves and not need manual editing.
Copy code
ERROR    Could not find version number in tests/pipeline/test_clustalo.nf.test.snap: `nf-core/phyloplace=1.1.0`
There aren't any version strings in any snaps. And I think the command actually fails, since the
CHANGELOG.md
wasn't updated. Tools version 3.2.0.
are you testing your pipeline in a different way than these two examples?
d
My snaps currently look quite different. Part of the reason is probably that the
.nf.test
is setup differently. Should I add the version part manually to the snap file? I run the tests, and hence create the snap files just by
nf-test test tests/pipeline/test.nf.test
. I don't see an
nf-core pipelines test
command.
j
pipeline tests are not yet implemented to nf-core/tools, so we don't have tooling for this. It is only taken into account in the version-bump
Don't modify the saps manually, as they will be modified or fail when you run nf-test again
we can make it not required to have these version, could you open an issue to nf-core/tools for this?
d
Sure. But I'm curious as to how one gets the version string into the snap files. Should I add something to the
nf-test test
command and update the snap files?
j
maybe @Sateesh_Peri or someone else in #nf-test can help with that 🙂
d
Thanks! I'll create the issue and wait for more insight! 🙂
m
@Maxime Garcia docs for nf-test for pipeline when?
m
it's in my TODO pile
m
any eta?
m
Definitively not this week
But I can see this being useful, so I'll try to do before hackathon
m
yes, before hackathon would be very, very helpful
m
ok, it went up on my TODO then