mirror of https://github.com/amol-/dukpy.git
Do pycache cleanup at start of test loop
This commit is contained in:
parent
d73a928380
commit
2b7eb63f51
|
@ -52,10 +52,12 @@ echo "dist directory:"
|
|||
ls /io/dist
|
||||
|
||||
for PYTHON in ${PYTHON_VERSIONS}; do
|
||||
# clear python cache
|
||||
find /io -type d -name __pycache__ -delete
|
||||
|
||||
echo
|
||||
echo -n "Test $PYTHON: "
|
||||
/opt/python/${PYTHON}/bin/python -c "import platform; print('Building wheel for {platform} platform.'.format(platform=platform.platform()))"
|
||||
/opt/python/${PYTHON}/bin/pip install "$package_name"[testing,webassets] -f file:///io/dist
|
||||
find /io/tests -name __pycache__ | xargs rm -rf
|
||||
/opt/python/${PYTHON}/bin/nosetests -v --with-coverage --cover-package="$package_name" --cover-erase /io/tests
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue