Skip to content

Commit

Permalink
skip test in gh
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Dec 1, 2023
1 parent c12df12 commit 8762602
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from domino.testing import piece_dry_run
from domino.testing.utils import skip_envs
from pathlib import Path


test_file = str(Path(__file__).parent / "test-audio-to-transcribe.mp3")


@skip_envs('github')
def test_whisper_piece():
input_data = {

Check warning on line 11 in pieces/AudioTranscriptionLocalPiece/test_localtranscription_piece.py

View check run for this annotation

Codecov / codecov/patch

pieces/AudioTranscriptionLocalPiece/test_localtranscription_piece.py#L11

Added line #L11 was not covered by tests
"audio_file_path": test_file,
Expand Down

0 comments on commit 8762602

Please sign in to comment.