From d900b1d224de2cba3bcbd4cc85f1acbde3c57925 Mon Sep 17 00:00:00 2001 From: vinicvaz Date: Mon, 27 Nov 2023 11:28:19 -0300 Subject: [PATCH] transcription workflow --- .github/workflows/validate-and-organize.yml | 1 + .../test_localtranscription_piece.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-and-organize.yml b/.github/workflows/validate-and-organize.yml index 6f65a45..51ebfab 100644 --- a/.github/workflows/validate-and-organize.yml +++ b/.github/workflows/validate-and-organize.yml @@ -47,6 +47,7 @@ jobs: - name: Run tests over built images env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + DOMINO_TESTS_ENVIRONMENT: github run: | pytest --cov=pieces --cov-report=xml --cov-report=term-missing diff --git a/pieces/AudioTranscriptionLocalPiece/test_localtranscription_piece.py b/pieces/AudioTranscriptionLocalPiece/test_localtranscription_piece.py index 8981cb0..d541fe1 100644 --- a/pieces/AudioTranscriptionLocalPiece/test_localtranscription_piece.py +++ b/pieces/AudioTranscriptionLocalPiece/test_localtranscription_piece.py @@ -5,7 +5,7 @@ test_file = str(Path(__file__).parent / "test-audio-to-transcribe.mp3") -def test_whisper_piece(): +def test_audio_transcription_piece(): input_data = { "audio_file_path": test_file, "model_size": "tiny",