mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Allow Git commit SHA's as version numbers
This commit is contained in:
parent
8553388c17
commit
0479544e02
1 changed files with 3 additions and 3 deletions
|
@ -56,5 +56,5 @@ def test_ensure_valid_version_yml(workflow_dir):
|
|||
assert len(software_versions), "There must be at least one version emitted."
|
||||
for tool, version in software_versions.items():
|
||||
assert re.match(
|
||||
r"^\d+.*", str(version)
|
||||
r"(^\d+.*|^[a-z0-9]{40}$)", str(version)
|
||||
), f"Version number for {tool} must start with a number. "
|
||||
|
|
Loading…
Reference in a new issue