|
7 | 7 | target_dirs := tests TTS notebooks recipes
|
8 | 8 |
|
9 | 9 | test: ## run tests.
|
10 |
| - coverage run -m pytest -x -v --durations=0 tests |
| 10 | + pytest -x -v -n auto --durations=0 tests |
11 | 11 |
|
12 | 12 | test_vocoder: ## run vocoder tests.
|
13 |
| - coverage run -m pytest -x -v --durations=0 tests/vocoder_tests |
| 13 | + pytest -x -v -n auto --durations=0 tests/vocoder_tests |
14 | 14 |
|
15 | 15 | test_tts: ## run tts tests.
|
16 |
| - coverage run -m pytest -x -v --durations=0 tests/tts_tests |
| 16 | + pytest -x -v -n auto --durations=0 tests/tts_tests |
17 | 17 |
|
18 | 18 | test_tts2: ## run tts tests.
|
19 |
| - coverage run -m pytest -x -v --durations=0 tests/tts_tests2 |
| 19 | + pytest -x -v -n auto --durations=0 tests/tts_tests2 |
20 | 20 |
|
21 | 21 | test_xtts:
|
22 |
| - coverage run -m pytest -x -v --durations=0 tests/xtts_tests |
| 22 | + pytest -x -v -n auto --durations=0 tests/xtts_tests |
23 | 23 |
|
24 | 24 | test_aux: ## run aux tests.
|
25 |
| - coverage run -m pytest -x -v --durations=0 tests/aux_tests |
| 25 | + pytest -x -v -n auto --durations=0 tests/aux_tests |
26 | 26 | ./run_bash_tests.sh
|
27 | 27 |
|
28 | 28 | test_zoo0: ## run zoo tests.
|
29 |
| - coverage run -m pytest -x -v --durations=0 tests/zoo_tests/test_models.py \ |
| 29 | + pytest -x -v -n auto --durations=0 tests/zoo_tests/test_models.py \ |
30 | 30 | -k "test_models_offset_0_step_3 or test_voice_conversion"
|
31 | 31 | test_zoo1: ## run zoo tests.
|
32 |
| - coverage run -m pytest -x -v --durations=0 tests/zoo_tests/test_models.py -k test_models_offset_1_step_3 |
| 32 | + pytest -x -v -n auto --durations=0 tests/zoo_tests/test_models.py -k test_models_offset_1_step_3 |
33 | 33 | test_zoo2: ## run zoo tests.
|
34 |
| - coverage run -m pytest -x -v --durations=0 tests/zoo_tests/test_models.py -k test_models_offset_2_step_3 |
| 34 | + pytest -x -v -n auto --durations=0 tests/zoo_tests/test_models.py -k test_models_offset_2_step_3 |
35 | 35 |
|
36 | 36 | inference_tests: ## run inference tests.
|
37 |
| - coverage run -m pytest -x -v --durations=0 tests/inference_tests |
| 37 | + pytest -x -v -n auto --durations=0 tests/inference_tests |
38 | 38 |
|
39 | 39 | data_tests: ## run data tests.
|
40 |
| - coverage run -m pytest -x -v --durations=0 tests/data_tests |
| 40 | + pytest -x -v -n auto --durations=0 tests/data_tests |
41 | 41 |
|
42 | 42 | test_text: ## run text tests.
|
43 |
| - coverage run -m pytest -x -v --durations=0 tests/text_tests |
| 43 | + pytest -x -v -n auto --durations=0 tests/text_tests |
44 | 44 |
|
45 | 45 | test_failed: ## only run tests failed the last time.
|
46 |
| - coverage run -m pytest --last-failed -v tests |
| 46 | + pytest --last-failed -v tests |
47 | 47 |
|
48 | 48 | style: ## update code style.
|
49 | 49 | uv run --only-dev black ${target_dirs}
|
|
0 commit comments