Browse Source

use builtin venv, and python3, also fail fast on tests..

main
John-Mark Gurney 2 years ago
parent
commit
860a41c0f8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -1,8 +1,8 @@
MODULES=pasn1.py
VIRTUALENV?=virtualenv-3.7
VIRTUALENV?=python3 -m venv

test:
(echo $(MODULES) | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')
(echo $(MODULES) | entr sh -c 'python -m coverage run -m unittest --failfast $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')

env:
($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)

Loading…
Cancel
Save