From 60a5338dad38170bf8d20227f427839975c5db09 Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Tue, 1 Oct 2024 12:38:20 -0400 Subject: [PATCH] gh actions: call make correctly Signed-off-by: Peter Hunt --- .github/workflows/integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 4d8d3675..5de02e35 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -46,8 +46,8 @@ jobs: - name: Run CRI-O integration tests run: | CRIO_DIR=$(sudo go env GOPATH)/src/github.com/cri-o/cri-o - sudo -D "$CRIO_DIR" make all test-binaries + sudo make -C "$CRIO_DIR" 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 -D "$CRIO_DIR" -E $(CRIO_DIR)/test/test_runner.sh $(ls $(CRIO_DIR)/test/ | grep bats | grep -E -v seccomp\|image\|policy) + sudo sh -c "cd $CRIO_DIR && ./test/test_runner.sh $(ls test/ | grep bats | grep -E -v seccomp\|image\|policy)" env: JOBS: '2'