Skip to content

Commit

Permalink
test: skip cli test for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams committed Mar 14, 2024
1 parent eb1d56c commit b48349e
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions tests/cli_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys
from tempfile import mkdtemp

import pytest
Expand All @@ -12,18 +13,23 @@ class TestCLI:
@pytest.mark.parametrize(
"qapp_args",
[
[
"main.py",
"add",
"--task",
"transcribe",
"--model-size",
"small",
"--output-directory",
mkdtemp(),
"--txt",
test_audio_path,
]
pytest.param(
[
"main.py",
"add",
"--task",
"transcribe",
"--model-size",
"small",
"--output-directory",
mkdtemp(),
"--txt",
test_audio_path,
],
marks=pytest.mark.skipif(
sys.platform == "linux", reason="Skip on Linux"
),
)
],
indirect=True,
)
Expand Down

0 comments on commit b48349e

Please sign in to comment.