Skip to content

Commit 959fcb0

Browse files
committed
ci: Ensure all apt install have -y
During tests, a lot of .deb packages are installed. In some cases, the -y parameter is missing, which may cause problems in the future if the package to install have new dependencies. This patch ensures that all apt install calls do have the -y parameter.
1 parent fd20faf commit 959fcb0

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
ln -s packaging/ubuntu-16.04 debian
165165
sudo apt build-dep -d -y ${{ github.workspace }}
166166
# for indent
167-
sudo apt install texinfo autopoint
167+
sudo apt install -y texinfo autopoint
168168
169169
- name: Copy dependencies
170170
run: |

.github/workflows/nightly-firefox-performance.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
sudo snap install built-snap/snapd_1337.*.snap.keep --dangerous
2828
sudo snap install firefox
29-
sudo apt install xvfb
29+
sudo apt install -y xvfb
3030
3131
- name: Run Firefox performance tests
3232
uses: ./.github/actions/run-firefox-performance-tests
@@ -50,7 +50,7 @@ jobs:
5050
- name: Install dependencies
5151
run: |
5252
sudo snap install firefox
53-
sudo apt install xvfb
53+
sudo apt install -y xvfb
5454
5555
- name: Run Firefox performance tests
5656
uses: ./.github/actions/run-firefox-performance-tests

tests/lib/external/snapd-testing-tools/.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Run codespell tool
3030
run: |
31-
sudo apt install python3-pip
31+
sudo apt install -y python3-pip
3232
pip3 install codespell
3333
codespell
3434

tests/nested/manual/hybrid-fde-all-key-databases/task.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ prepare: |
127127
esac
128128
129129
remote.push update.auth
130-
remote.exec sudo apt install efitools -y
130+
remote.exec sudo apt install -y efitools
131131
132132
restore: |
133133
"$TESTSTOOLS"/store-state teardown-fake-store "$STORE_DIR"

0 commit comments

Comments
 (0)