Skip to content

Commit

Permalink
Push tmptest after installation of dev-reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
jondequinor authored and ManInFez committed Feb 25, 2020
1 parent d3b2467 commit 91f2920
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions ci/jenkins/testkomodo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ if [[ -z "${sha1// }" ]]; then
EV=${EV%"+py3"}
echo "Using ${PROJECT} version ${EV}"
$GIT checkout $EV

# Run in a new folder so that we dont load the other python code from the source, but rather run against komodo
rm -rf tmptest
mkdir tmptest
cp -r tests tmptest/tests
cp -r test-data tmptest/test-data
pushd tmptest
fi

echo "Creating virtualenv"
Expand All @@ -34,6 +27,16 @@ python -m virtualenv --system-site-packages $ENV
source $ENV/bin/activate
python -m pip install -r dev-requirements.txt

if [[ -z "${sha1// }" ]]; then
# Run in a new folder so that we dont load the other python code from the source, but rather run against komodo
rm -rf tmptest
mkdir tmptest
cp -r tests tmptest/tests
cp -r test-data tmptest/test-data
pushd tmptest
fi


echo "Running pytest"

if [[ ${RELEASE_NAME} =~ py27$ ]]
Expand Down

0 comments on commit 91f2920

Please sign in to comment.