mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
Split tests to avoid 10min hard threshold
This commit is contained in:
4
Makefile
4
Makefile
@@ -8,6 +8,7 @@
|
|||||||
FEEDSTOCK = spleeter-feedstock
|
FEEDSTOCK = spleeter-feedstock
|
||||||
FEEDSTOCK_REPOSITORY = https://github.com/deezer/$(FEEDSTOCK)
|
FEEDSTOCK_REPOSITORY = https://github.com/deezer/$(FEEDSTOCK)
|
||||||
FEEDSTOCK_RECIPE = $(FEEDSTOCK)/recipe/spleeter/meta.yaml
|
FEEDSTOCK_RECIPE = $(FEEDSTOCK)/recipe/spleeter/meta.yaml
|
||||||
|
PYTEST_CMD = pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv
|
||||||
|
|
||||||
all: clean build test deploy
|
all: clean build test deploy
|
||||||
|
|
||||||
@@ -26,7 +27,8 @@ build-gpu: clean
|
|||||||
python3 setup.py sdist
|
python3 setup.py sdist
|
||||||
|
|
||||||
test:
|
test:
|
||||||
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv
|
$(foreach file, $(wildcard tests/test_*.py), $(PYTEST_CMD) $(file);)
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
pip install twine
|
pip install twine
|
||||||
|
|||||||
Reference in New Issue
Block a user