Skip to content

Commit

Permalink
gh actions: add sudo to make command
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hunt <[email protected]>
  • Loading branch information
haircommander committed Sep 20, 2024
1 parent 8e0a9e9 commit 1782ea3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
~/.cache/go-build
key: go-integration-conmon-${{ hashFiles('**/go.mod') }}
restore-keys: go-integration-conmon-
- run: hack/github-actions-setup
- run: sudo hack/github-actions-setup
- name: Run conmon integration tests
run: |
sudo make vendor
Expand All @@ -42,11 +42,11 @@ jobs:
~/.cache/go-build
key: go-integration-cri-o-${{ hashFiles('**/go.mod') }}
restore-keys: go-integration-cri-o-
- run: hack/github-actions-setup
- run: sudo hack/github-actions-setup
- name: Run CRI-O integration tests
run: |
cd $(go env GOPATH)/src/github.com/cri-o/cri-o
make all test-binaries
sudo make all test-binaries
# skip seccomp tests because they have permission denied issues in a container and accept signed image as they don't use conmon
sudo -E test/test_runner.sh $(ls test/ | grep bats | grep -E -v seccomp\|image\|policy)
env:
Expand Down

0 comments on commit 1782ea3

Please sign in to comment.