From 45784ce005fdc4efc199c42ec16dc794463c2dac Mon Sep 17 00:00:00 2001 From: Paramadon Date: Wed, 12 Jun 2024 14:31:29 -0400 Subject: [PATCH] making sure dir is correct --- .github/workflows/integration-test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index e1dd42d779..529f920713 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -1425,6 +1425,14 @@ jobs: timeout_minutes: 60 retry_wait_seconds: 5 command: | + if [ "${{ matrix.arrays.terraform_dir }}" != "" ]; then + cd "${{ matrix.arrays.terraform_dir }}" + else + cd terraform/eks/addon/gpu + fi + pwd + EKS_CLUSTER_NAME=${{ env.EKS_CLUSTER_NAME }} + if go test ${{ matrix.arrays.test_dir }} -eksClusterName ${EKS_CLUSTER_NAME} -computeType=EKS -v -eksDeploymentStrategy=DAEMON -eksGpuType=nvidia; then echo "Tests passed" else