Skip to content

Commit

Permalink
Update pr-pipeline to support python 3.8 (#252)
Browse files Browse the repository at this point in the history
* update pr-pipeline python version

* update new

* format line style

* update error

* resolve permission
  • Loading branch information
Fred-sun authored Sep 9, 2020
1 parent 6c9cd41 commit 0964266
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/utils/ado/ado.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ then
pip --version
pip list --disable-pip-version-check
else
if [ "$2" = "3.8" ]
then
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python"$2" -y
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
fi

command -v pip3
pip3 --version
pip3 list --disable-pip-version-check
Expand Down

0 comments on commit 0964266

Please sign in to comment.