Skip to content

Commit bb3d1bd

Browse files
authored
stop installing sudo for testing install scripts (#20132)
1 parent 8e8db78 commit bb3d1bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test-install-scripts.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,13 @@ jobs:
214214
- name: Prepare Amazon Linux
215215
if: ${{ matrix.distribution.type == 'amazon' }}
216216
run: |
217-
yum install --assumeyes git sudo
217+
yum install --assumeyes git
218218
219219
- name: Prepare Arch
220220
if: ${{ matrix.distribution.type == 'arch' }}
221221
run: |
222222
pacman --noconfirm -Syu
223-
pacman --noconfirm -S base git sudo openssl-1.1
223+
pacman --noconfirm -S base git openssl-1.1
224224
# The behavior we follow in install.sh is unique with Arch in that
225225
# we leave it to the user to install the appropriate version of python,
226226
# so we need to install python here in order for the test to succeed.
@@ -232,7 +232,7 @@ jobs:
232232
DEBIAN_FRONTEND: noninteractive
233233
run: |
234234
apt-get --yes update
235-
apt-get install --yes git lsb-release sudo python3-venv
235+
apt-get install --yes git lsb-release python3-venv
236236
237237
- name: Prepare Fedora
238238
if: ${{ matrix.distribution.type == 'fedora' }}
@@ -242,15 +242,15 @@ jobs:
242242
- name: Prepare Rocky
243243
if: ${{ matrix.distribution.type == 'rocky' }}
244244
run: |
245-
yum install --assumeyes git sudo python39
245+
yum install --assumeyes git python39
246246
247247
- name: Prepare Ubuntu
248248
if: ${{ matrix.distribution.type == 'ubuntu' }}
249249
env:
250250
DEBIAN_FRONTEND: noninteractive
251251
run: |
252252
apt-get --yes update
253-
apt-get install --yes git lsb-release sudo
253+
apt-get install --yes git lsb-release
254254
MINIMUM=3.9
255255
if ! apt-get satisfy --yes "python3-venv (>= ${MINIMUM})"
256256
then

0 commit comments

Comments
 (0)