Skip to content

Commit

Permalink
Exclude dwtools/SpeechSynthesizer.praat from tests (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickJadoul committed Aug 13, 2024
1 parent 2958f55 commit 1cac9b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ jobs:
- name: Run tests
run: |
exit 1
#cmake --build build --target tests
cmake --build build --target tests
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && inputs.tmate && failure() }}
Expand Down
9 changes: 6 additions & 3 deletions tests/test_praat_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ def find_praat_test_files():
for fn in glob.iglob(os.path.join(dir, "**", "*.praat"), recursive=True):
if "_GUI_" in fn:
continue
rel_fn = os.path.relpath(fn, PRAAT_TEST_BASE_DIR)
yield pytest.param(fn, id=rel_fn)
rel_fn = os.path.normpath(os.path.relpath(fn, PRAAT_TEST_BASE_DIR))
marks = []
if rel_fn in ["dwtools/SpeechSynthesizer.praat"]:
marks.append(pytest.mark.skipif(sys.platform == 'win32', reason="Tests hang on Windows")) # TODO 0.5
yield pytest.param(fn, id=rel_fn, marks=marks)


def find_praat_dwtest_files():
Expand All @@ -54,7 +57,7 @@ def find_praat_dwtest_files():
"test_SpeechSynthesizer_alignment.praat",
"test_alignment.praat",
"test_bss_twoSoundsMixed.praat"]:
marks.append(pytest.mark.skipif(sys.platform == 'win32', reason="Tests hang on Windows")) # TODO
marks.append(pytest.mark.skipif(sys.platform == 'win32', reason="Tests hang on Windows")) # TODO 0.5
yield pytest.param(fn, id=rel_fn, marks=marks)


Expand Down

0 comments on commit 1cac9b6

Please sign in to comment.