Skip to content

Commit

Permalink
chore(Makefile): decrease verbosity for pytest time
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed May 10, 2024
1 parent 3c88ab7 commit 468f045
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ install:
install-editable:
$(PYTHON) -m pip install --upgrade pip
$(PYTHON) -m pip install --upgrade setuptools wheel
$(PYTHON) -m pip install torch numpy pybind11 cmake
$(PYTHON) -m pip install --upgrade pybind11 cmake
$(PYTHON) -m pip install torch numpy
USE_FP16=ON TORCH_CUDA_ARCH_LIST=Auto $(PYTHON) -m pip install -vvv --no-build-isolation --editable .

install-e: install-editable # alias
Expand Down Expand Up @@ -114,7 +115,7 @@ addlicense-install: go-install
pytest: test-install
$(PYTHON) -m pytest --version
cd tests && $(PYTHON) -c 'import $(PROJECT_PATH)' && \
$(PYTHON) -m pytest --verbose --color=yes --durations=0 \
$(PYTHON) -m pytest --verbose --color=yes \
--cov="$(PROJECT_PATH)" --cov-config=.coveragerc --cov-report=xml --cov-report=term-missing \
$(PYTESTOPTS) .

Expand Down

0 comments on commit 468f045

Please sign in to comment.