Skip to content
This repository was archived by the owner on Dec 27, 2021. It is now read-only.

run tests/setup in a virtualenv #123

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
setup:
@pip install --requirement=REQUIREMENTS
@virtualenv venv
@venv/bin/pip install --requirement=REQUIREMENTS

docs:
@python docs.py
@venv/bin/python docs.py

test:
@env PYTHONHASHSEED=random PYTHONPATH=. nosetests --with-coverage --cover-package=provy --cover-erase --with-yanc --with-xtraceback tests/
@env PYTHONHASHSEED=random PYTHONPATH=. venv/bin/nosetests --with-coverage --cover-package=provy --cover-erase --with-yanc --with-xtraceback tests/

build: test
@echo Running syntax check...
@flake8 . --ignore=E501
@venv/bin/flake8 . --ignore=E501 --exclude=*/venv/*