Skip to content

Commit

Permalink
test: Force install modules
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 20, 2024
1 parent 0072f58 commit cffb787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/modules/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,13 +668,13 @@ def test_modules_lint_file_path(self):
# Install modules first
for module in ["fastqc", "bwa/mem", "samtools/sort", "multiqc", "star/align"]:
try:
self.mods_install.install(module)
self.mods_install.install(module, force=True)
except Exception as e:
self.fail(f"Failed to install module {module}: {str(e)}")

# Wait for modules to be installed
module_lint = nf_core.modules.lint.ModuleLint(directory=self.nfcore_modules)

# Run lint on the files
lint_result = module_lint.lint(print_results=False, files=test_paths)
if not lint_result:
Expand Down

0 comments on commit cffb787

Please sign in to comment.