galaxyproject / planemo

Command-line utilities to assist in developing Galaxy and Common Workflow Language artifacts - including tools, workflows, and training materials.
https://planemo.readthedocs.io/
MIT License
90 stars 85 forks source link

planemo test is not recursive anymore #1367

Open lcottret opened 1 year ago

lcottret commented 1 year ago

Hi,

Planemo version : 0.75.7 When I launch "planemo test" at the root of my project (where there is the 'tools') directory, it returns : 'No tests were executed - see Galaxy output for details.' However, it worked with the version 0.75.3...

Ludo

mvdbeek commented 1 year ago

Can you run tree to show your working directory structure ? I am not sure that this was ever meant to recursively run tests based on the help string:

Usage: planemo test [OPTIONS] TOOL_PATH

Run specified tool or workflow tests within Galaxy.

All referenced tools (by default all the tools in the current working directory) will be tested and the results quickly summarized.

If I install 0.75.3 it doesn't run tests for tools in subdirectories, so I'm a little confused by the report

lcottret commented 1 year ago

Hi,

The directory structure is in this repo : https://forgemia.inra.fr/metexplore/met4j-galaxy .

For running my tests, I use a docker specified by this file : https://forgemia.inra.fr/metexplore/met4j-galaxy/-/blob/master/Dockerfile (https://hub.docker.com/r/metexplore/met4j-galaxy-runner).

In my CI (https://forgemia.inra.fr/metexplore/met4j-galaxy/-/blob/master/.gitlab-ci.yml), I launch planemo test and 3 months ago, it launched all the tests. See this result html file.

Indeed, I'm not sure that it's the version 0.75.3 but 3 months ago and before, the downloaded version performed tests recursively.

Maybe I missed something...

Ludo

lcottret commented 1 year ago

Indeed, I tested with an old version of planemo and galaxy and :

Well, I'm lost, I don't understand how it ever worked...