fix: update quality checks for django 3.2 (#28958)

This commit is contained in:
Muhammad Soban Javed
2021-10-06 23:44:48 +05:00
committed by GitHub
parent 47b56b8417
commit e2dc24af3a
3 changed files with 11 additions and 3 deletions

View File

@@ -68,9 +68,14 @@ END
# if specified tox environment is supported, prepend paver commands
# with tox env invocation
if [ -z ${TOX_ENV+x} ] || [[ ${TOX_ENV} == 'null' ]]; then
echo "TOX_ENV: ${TOX_ENV}"
TOX=""
elif tox -l |grep -q "${TOX_ENV}"; then
TOX="tox -r -e ${TOX_ENV} --"
if [[ "${TOX_ENV}" == 'quality-django32' ]]; then
TOX=""
else
TOX="tox -r -e ${TOX_ENV} --"
fi
else
echo "${TOX_ENV} is not currently supported. Please review the"
echo "tox.ini file to see which environments are supported"