File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11from pathlib import Path
2+ from pytest import mark
3+ from shutil import which
24from tempfile import TemporaryDirectory
35
46import cwl_utils .parser .cwl_v1_0 as parser
911TEST_CWL = HERE / "../testdata/md5sum.cwl"
1012
1113
14+ @mark .skipif (which ("docker" ) is None , reason = "docker is not available" )
1215def test_traverse_workflow () -> None :
1316 """Test container extraction tool using Docker."""
1417 loaded = parser .load_document (str (TEST_CWL .resolve ()))
@@ -21,6 +24,7 @@ def test_traverse_workflow() -> None:
2124 _ = image_puller .generate_udocker_loading_command ()
2225
2326
27+ @mark .skipif (which ("singularity" ) is None , reason = "singularity is not available" )
2428def test_traverse_workflow_singularity () -> None :
2529 """Test container extraction tool using Singularity."""
2630 loaded = parser .load_document (str (TEST_CWL .resolve ()))
You can’t perform that action at this time.
0 commit comments