Skip to content

Commit aeea36f

Browse files
authored
Fix the Github workflow tests (#72)
* a dummy commit Signed-off-by: David Dale <daviddale@meta.com> * try adding a session scope Signed-off-by: David Dale <daviddale@meta.com> * set asyncio fixture scope explicitly Signed-off-by: David Dale <daviddale@meta.com> --------- Signed-off-by: David Dale <daviddale@meta.com>
1 parent 21f1eca commit aeea36f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,4 @@ norecursedirs = [
257257
"stopes/utils/aligner_utils", # it imports from a non-main branch of fairseq
258258
"stopes/eval/local_prosody/unity2_forced_aligner_f1", # it imports the package above
259259
]
260+
asyncio_default_fixture_loop_scope = "session"

stopes/pipelines/tests/test_global_mining.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def encode_to_np(
129129
(False, True, True, "speech"),
130130
],
131131
)
132+
@pytest.mark.asyncio(scope="session")
132133
def test_global_mining_pipeline(
133134
tmp_path: Path, split_langs: bool, use_meta: bool, fp16: bool, modality: str
134135
) -> None:

0 commit comments

Comments
 (0)