Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley authored Feb 5, 2024
1 parent df70d80 commit 5e734ee
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 @@ -2,6 +2,7 @@ python=./env/bin/python
mamba=mamba
pkg=qmllib
pip=./env/bin/pip
j=1

all: env setup

Expand All @@ -24,8 +25,8 @@ test:
./tests/test_distance.py

types:
# ${python} -m monkeytype run $(which pytest) ./tests/test_solvers.py
${python} -m monkeytype list-modules | grep ${pkg} | parallel -j1 "${python} -m monkeytype apply {}"
${python} -m monkeytype run $(which pytest) ./tests/
${python} -m monkeytype list-modules | grep ${pkg} | parallel -j${j} "${python} -m monkeytype apply {}"

cov:
${python} -m pytest -vrs --cov=${pkg} --cov-report html tests
Expand Down

0 comments on commit 5e734ee

Please sign in to comment.