diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 45ee79b..4bc9e8a 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -27,3 +27,6 @@ jobs: - name: Mypy check run: poetry run mypy . + + - name: Pytest + run: poetrun run pytest \ No newline at end of file diff --git a/tests/test_audio.py b/tests/test_audio.py index b8a7711..4cc2bc4 100644 --- a/tests/test_audio.py +++ b/tests/test_audio.py @@ -1,5 +1,7 @@ from itertools import chain +import pytest + from vmh.audio import _audio_chain, detect_silences, transcribe_audio audio_stub = { @@ -83,6 +85,7 @@ def test_detect_silences_negative(): assert silences == list(times) +@pytest.mark.skip(reason='Need cuda to run this on CI') def test_transcribe_audio(): segments = transcribe_audio(audio_stub['path'], 'print', '')['segments'] for segment in segments: