Skip to content

Commit

Permalink
Split tests to avoid 10min hard threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoussallam committed Jun 25, 2020
1 parent fceaaaf commit 5bd6339
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
FEEDSTOCK = spleeter-feedstock
FEEDSTOCK_REPOSITORY = https://github.com/deezer/$(FEEDSTOCK)
FEEDSTOCK_RECIPE = $(FEEDSTOCK)/recipe/spleeter/meta.yaml
PYTEST_CMD = pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv

all: clean build test deploy

Expand All @@ -26,7 +27,8 @@ build-gpu: clean
python3 setup.py sdist

test:
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv
$(foreach file, $(wildcard tests/test_*.py), $(PYTEST_CMD) $(file);)


deploy:
pip install twine
Expand Down

0 comments on commit 5bd6339

Please sign in to comment.