Skip to content

Commit

Permalink
wire up testing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettj12 committed Oct 17, 2023
1 parent c3748cc commit 413a0cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-r requirements.txt
coverage
flake8
cosl
7 changes: 3 additions & 4 deletions run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ if [ -z "$VIRTUAL_ENV" -a -d venv/ ]; then
. venv/bin/activate
fi

if [ -z "$PYTHONPATH" ]; then
export PYTHONPATH=src
else
export PYTHONPATH="src:$PYTHONPATH"
if [ -n "$PYTHONPATH" ]; then
export PYTHONPATH=":$PYTHONPATH"
fi
export PYTHONPATH="src:lib$PYTHONPATH"

flake8
coverage run --source=src -m unittest -v "$@"
Expand Down

0 comments on commit 413a0cb

Please sign in to comment.