Skip to content

Commit

Permalink
CI: use sudo
Browse files Browse the repository at this point in the history
Huh. I kinda just assumed we'd be root. Guess not!

Signed-off-by: Adam Williamson <[email protected]>
  • Loading branch information
AdamWill committed Jan 25, 2024
1 parent 7d53256 commit 6c36fcd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
with:
fetch-depth: 0
- name: Install make and docker
run: apt-get install make docker docker.io
run: sudo apt-get install make docker docker.io
- name: Run the tests
run: make container-unittests-fedora
run: sudo make container-unittests-fedora
unittests-el7:
runs-on: ubuntu-latest
steps:
Expand All @@ -23,9 +23,9 @@ jobs:
with:
fetch-depth: 0
- name: Install make and docker
run: apt-get install make docker
run: sudo apt-get install make docker
- name: Run the tests
run: make container-unittests-el7
run: sudo make container-unittests-el7
lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
with:
fetch-depth: 0
- name: Install make, pylint and flake8
run: apt-get install make pylint flake8
run: sudo apt-get install make pylint flake8
- name: Run pylint
run: make pylint
- name: Run flake8
Expand Down

0 comments on commit 6c36fcd

Please sign in to comment.