Skip to content
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

planemo test is not recursive anymore #1367

Open
lcottret opened this issue May 9, 2023 · 3 comments
Open

planemo test is not recursive anymore #1367

lcottret opened this issue May 9, 2023 · 3 comments

Comments

@lcottret
Copy link

lcottret commented May 9, 2023

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
Copy link
Member

mvdbeek commented May 9, 2023

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
Copy link
Author

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
Copy link
Author

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

  • planemo test does not work in a recursive way
  • planemo test does not handle symbolic links

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants