Added comment

This commit is contained in:
Chris Cheshire 2022-01-28 09:27:28 +00:00
parent 1abcc93837
commit 70ea9ac9a8

View file

@ -16,7 +16,9 @@ def _get_workflow_names():
# test_config = yaml.safe_load(f.read_text())
test_config = yaml.load(f.read_text(), Loader=yaml.BaseLoader)
for workflow in test_config:
if 'exit_code' not in workflow:
# https://github.com/nf-core/modules/pull/1242 - added to cover tests
# that expect an error and therefore will not generate a versions.yml
if 'exit_code' not in workflow:
yield workflow["name"]