Skip to content

Commit 6c36fcd

Browse files
committed
CI: use sudo
Huh. I kinda just assumed we'd be root. Guess not! Signed-off-by: Adam Williamson <[email protected]>
1 parent 7d53256 commit 6c36fcd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414
- name: Install make and docker
15-
run: apt-get install make docker docker.io
15+
run: sudo apt-get install make docker docker.io
1616
- name: Run the tests
17-
run: make container-unittests-fedora
17+
run: sudo make container-unittests-fedora
1818
unittests-el7:
1919
runs-on: ubuntu-latest
2020
steps:
@@ -23,9 +23,9 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
- name: Install make and docker
26-
run: apt-get install make docker
26+
run: sudo apt-get install make docker
2727
- name: Run the tests
28-
run: make container-unittests-el7
28+
run: sudo make container-unittests-el7
2929
lint:
3030
runs-on: ubuntu-latest
3131
steps:
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636
- name: Install make, pylint and flake8
37-
run: apt-get install make pylint flake8
37+
run: sudo apt-get install make pylint flake8
3838
- name: Run pylint
3939
run: make pylint
4040
- name: Run flake8

0 commit comments

Comments
 (0)