diff --git a/nf_core/module-template/tests/test.yml b/nf_core/module-template/tests/test.yml index 4f38dec29..a2cedb73d 100644 --- a/nf_core/module-template/tests/test.yml +++ b/nf_core/module-template/tests/test.yml @@ -3,7 +3,7 @@ # nf-core modules create-test-yml {{ tool }}{%- if subtool %}/{{ subtool }}{%- endif %} {% endif -%} - name: "{{ component }}{{ ' '+subtool if subtool else '' }}" - command: nextflow run ./tests/modules/{{ org }}/{{ component_dir }} -entry test_{{ component_name_underscore }} -c ./tests/config/nextflow.config -c ./tests/modules/{{ org }}/{{ component_dir }}/nextflow.config + command: nextflow run ./tests/modules/{{ org }}/{{ component_dir }} -entry test_{{ component_name_underscore }} -c ./tests/config/nextflow.config tags: - "{{ component }}{% if subtool -%}" - "{{ component }}/{{ subtool }}{%- endif %}" diff --git a/nf_core/modules/test_yml_builder.py b/nf_core/modules/test_yml_builder.py index 7ab9e464d..3c23416fd 100644 --- a/nf_core/modules/test_yml_builder.py +++ b/nf_core/modules/test_yml_builder.py @@ -177,7 +177,7 @@ def build_single_test(self, entry_point): # See https://github.com/nf-core/tools/issues/1562 default_val = ( f"nextflow run ./tests/modules/{self.org}/{self.module_name} -entry {entry_point} " - f"-c ./tests/config/nextflow.config -c ./tests/modules/{self.org}/{self.module_name}/nextflow.config" + f"-c ./tests/config/nextflow.config" ) if self.no_prompts: ep_test["command"] = default_val