Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
enable py38 for unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
mseth10 committed Jul 3, 2021
1 parent a795006 commit f7f7c30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,10 @@ cd_unittest_ubuntu() {

local nose_cmd="nosetests-3.4"

if [[ ${mxnet_variant} = aarch64_cpu ]]; then
source /opt/rh/rh-python38/enable
fi

$nose_cmd $NOSE_TIMER_ARGUMENTS --verbose tests/python/unittest
$nose_cmd $NOSE_TIMER_ARGUMENTS --verbose tests/python/quantization

Expand Down Expand Up @@ -2017,6 +2021,9 @@ cd_package_pypi() {
set -ex
pushd .
local mxnet_variant=${1:?"This function requires a python command as the first argument"}
if [[ ${mxnet_variant} = aarch64_cpu ]]; then
source /opt/rh/rh-python38/enable
fi
./cd/python/pypi/pypi_package.sh ${mxnet_variant}
popd
}
Expand Down

0 comments on commit f7f7c30

Please sign in to comment.