<commit_before>#!/bin/bash -xe
echo "Running tests"

rm -f coverage.xml

cd ${WORKSPACE}
source _env/bin/activate

nosetests --with-coverage --cover-package=pyrakoon --cover-erase --with-doctest --with-xunit --xunit-file=_output/test_results.xml --with-xcoverage pyrakoon test
RESULT=$?

deactivate

test -f coverage.xml && mv coverage.xml _output/

if test $RESULT -eq 0; then true; else false; fi<commit_msg>Jenkins: Add $WORKSPACE to $PATH<commit_after>#!/bin/bash -xe
echo "Running tests"

rm -f coverage.xml

cd ${WORKSPACE}
source _env/bin/activate

export PATH=${WORKSPACE}:$PATH

nosetests --with-coverage --cover-package=pyrakoon --cover-erase --with-doctest --with-xunit --xunit-file=_output/test_results.xml --with-xcoverage pyrakoon test
RESULT=$?

deactivate

test -f coverage.xml && mv coverage.xml _output/

if test $RESULT -eq 0; then true; else false; fi
{'fraction_non_alphanumeric': 0.13892078071182548, 'fraction_numerical': 0.002296211251435132, 'mean_word_length': 4.129411764705883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1746144', 'n_tokens_mistral': 316, 'n_tokens_neox': 311, 'n_words': 85}