Skip to content

Commit 989f87a

Browse files
committed
Install relevant Python 3 RPM/Deb packages
1 parent 61894c8 commit 989f87a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

actions/setup_e2e_tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ if [[ -n "$RHTEST" ]]; then
4343

4444
if [[ "$RHVERSION" -eq 7 ]]; then
4545
# For RHEL/CentOS 7
46-
sudo yum install -y python-pip jq bats
46+
sudo yum install -y bats jq python3-pip python3-virtualenv
4747
else
4848
# For RHEL/CentOS 8 and above
49-
sudo yum install -y python3-pip wget jq
49+
sudo yum install -y jq python3-pip python3-virtualenv wget
5050
PIP="pip3"
5151
# bats not available in epel for EL 8, Install from npm
5252
sudo npm install --global bats
@@ -63,7 +63,7 @@ elif [[ -n "$DEBTEST" ]]; then
6363
sudo systemctl restart mongod
6464
fi
6565

66-
sudo apt-get -q -y install build-essential jq python-pip python-dev wget
66+
sudo apt-get -q -y install build-essential jq python3-pip python3-dev python3-virtualenv wget
6767

6868
# Remove bats-core if it already exists (this happens when test workflows
6969
# are re-run on a server when tests are debugged)

0 commit comments

Comments
 (0)