From ea90693cb4f1bc48b2f4a8766d3a7a696361e2ac Mon Sep 17 00:00:00 2001 From: Prateek Date: Wed, 28 Aug 2024 22:04:07 +0530 Subject: [PATCH] fix(ci): set working directory in order to install correct dependencies Signed-off-by: Prateek --- .github/workflows/ci-latest-release.yml | 3 ++- .github/workflows/ci-test-controllers.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-latest-release.yml b/.github/workflows/ci-latest-release.yml index c41a7d7400..804861c843 100644 --- a/.github/workflows/ci-latest-release.yml +++ b/.github/workflows/ci-latest-release.yml @@ -109,7 +109,8 @@ jobs: - name: Test KubeArmor using Ginkgo run: | go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo - make -C tests/k8s_env/ + make + working-directory: ./tests/k8s_env timeout-minutes: 30 - name: Get karmor sysdump diff --git a/.github/workflows/ci-test-controllers.yml b/.github/workflows/ci-test-controllers.yml index e2e6fa4516..9a8ff3b1fa 100644 --- a/.github/workflows/ci-test-controllers.yml +++ b/.github/workflows/ci-test-controllers.yml @@ -116,8 +116,8 @@ jobs: - name: Test KubeArmor using Ginkgo run: | go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo - cd tests/k8s_env ginkgo --vv --flake-attempts=10 --timeout=10m smoke/ + working-directory: ./tests/k8s_env timeout-minutes: 30 - name: Get karmor sysdump