Skip to content

Commit

Permalink
add python debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed Sep 12, 2022
1 parent 9830ed5 commit be7a5cf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ pip3 install fastavro --user
CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
PULSAR_HOME="$( cd "$CUR_DIR/../../../../" >/dev/null && pwd )"

ls -la ${PULSAR_HOME}/pulsar-functions/instance/target/python-instance/tests || echo "dir not found"
touch ${PULSAR_HOME}/pulsar-functions/instance/target/python-instance/tests/__init__.py || echo "dir not found 2"
# run instance tests
PULSAR_HOME=${PULSAR_HOME} PYTHONPATH=${PULSAR_HOME}/pulsar-functions/instance/target/python-instance python3 -m unittest discover -v ${PULSAR_HOME}/pulsar-functions/instance/target/python-instance/tests
PULSAR_HOME=${PULSAR_HOME} PYTHONPATH=${PULSAR_HOME}/pulsar-functions/instance/target/python-instance python3 -m unittest discover -v -s ${PULSAR_HOME}/pulsar-functions/instance/target/python-instance/tests

0 comments on commit be7a5cf

Please sign in to comment.