mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
Ignores version file checking if testing for error
This commit is contained in:
parent
b83db65f33
commit
1abcc93837
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ 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:
|
||||
yield workflow["name"]
|
||||
if 'exit_code' not in workflow:
|
||||
yield workflow["name"]
|
||||
|
||||
|
||||
@pytest.mark.workflow(*_get_workflow_names())
|
||||
|
|
Loading…
Reference in a new issue