diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 392cc437..dcc1f1c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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() }} diff --git a/tests/test_praat_tests.py b/tests/test_praat_tests.py index ae1343c4..9372e342 100644 --- a/tests/test_praat_tests.py +++ b/tests/test_praat_tests.py @@ -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(): @@ -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)