Skip to content

Commit 208f733

Browse files
committed
biocontainers test is flaky, automatically retry it.
1 parent 6c9e6fb commit 208f733

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ bagit>=1.6.4,<1.9
22
pytest>= 6.2,< 8.2
33
pytest-xdist
44
pytest-httpserver
5+
pytest-retry;python_version>'3.9'
56
mock>=2.0.0
67
pytest-mock>=1.10.0
78
pytest-cov

tests/test_dependencies.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
@needs_docker
2727
@pytest.mark.skipif(not deps, reason="galaxy-tool-util is not installed")
28+
@pytest.mark.flaky(retries=3)
2829
def test_biocontainers(tmp_path: Path) -> None:
2930
wflow = get_data("tests/seqtk_seq.cwl")
3031
job = get_data("tests/seqtk_seq_job.json")

0 commit comments

Comments
 (0)