Skip to content

Commit cffb787

Browse files
committed
test: Force install modules
1 parent 0072f58 commit cffb787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/modules/test_lint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,13 +668,13 @@ def test_modules_lint_file_path(self):
668668
# Install modules first
669669
for module in ["fastqc", "bwa/mem", "samtools/sort", "multiqc", "star/align"]:
670670
try:
671-
self.mods_install.install(module)
671+
self.mods_install.install(module, force=True)
672672
except Exception as e:
673673
self.fail(f"Failed to install module {module}: {str(e)}")
674674

675675
# Wait for modules to be installed
676676
module_lint = nf_core.modules.lint.ModuleLint(directory=self.nfcore_modules)
677-
677+
678678
# Run lint on the files
679679
lint_result = module_lint.lint(print_results=False, files=test_paths)
680680
if not lint_result:

0 commit comments

Comments
 (0)