From 4f1c9e906cea58fc206d83a4d1e169cf5ac0bc90 Mon Sep 17 00:00:00 2001 From: d-kuro Date: Wed, 16 Aug 2023 13:47:22 +0900 Subject: [PATCH] fix working dir Signed-off-by: d-kuro --- .github/workflows/e2e.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 35c899ee0..82da5b0e5 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -25,12 +25,9 @@ jobs: cat swapon.txt | tail -n+2 | awk '$2=="file" {print $1}' | sudo xargs --no-run-if-empty rm - run: sudo mkdir /mnt/local-path-provisioner0 /mnt/local-path-provisioner1 /mnt/local-path-provisioner2 - name: Setup test cluster - run: make start KUBERNETES_VERSION=${{ inputs.k8s-version }} MYSQL_VERSION=${{ inputs.mysql-version }} KIND_CONFIG=kind-config_actions.yaml - working-directory: e2e - - run: make test - working-directory: e2e - - run: make logs - working-directory: e2e + run: make -C e2e start KUBERNETES_VERSION=${{ inputs.k8s-version }} MYSQL_VERSION=${{ inputs.mysql-version }} KIND_CONFIG=kind-config_actions.yaml + - run: make -C e2e test + - run: make -C e2e logs if: always() - uses: actions/upload-artifact@v3 if: always()