From e3e4c5624509f4d6b9578b0dc6e64ce86fb4bfd5 Mon Sep 17 00:00:00 2001 From: Prateek Pandey Date: Fri, 8 Jan 2021 15:00:12 +0530 Subject: [PATCH] fix(action): add missing ginkgo dependencies in other workflow (#141) Signed-off-by: prateekpandey14 --- .github/workflows/build.yml | 9 +++++++-- .github/workflows/release.yml | 9 +++++++-- tests/e2e/run_test.go | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6ec35452..bd420bd92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,11 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.4 + - name: Set up Go 1.14 + uses: actions/setup-go@v2 + with: + go-version: 1.14.7 + - name: Setup Minikube-Kubernetes uses: manusa/actions-setup-minikube@v2.3.0 with: @@ -74,8 +79,8 @@ jobs: - name: Build images locally run: make csi-driver-image || exit 1; - - name: Install ginkgo - run: go get github.com/onsi/ginkgo/ginkgo && go get github.com/onsi/gomega/... + - name: Install tests dependencies + run: make bootstrap - name: Running tests run: ./ci/ci-test.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ab4db506..bafdf10d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,11 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.4 + - name: Set up Go 1.14 + uses: actions/setup-go@v2 + with: + go-version: 1.14.7 + - name: Setup Minikube-Kubernetes uses: manusa/actions-setup-minikube@v2.3.0 with: @@ -49,8 +54,8 @@ jobs: - name: Build images locally run: make csi-driver-image || exit 1; - - name: Install ginkgo - run: go get github.com/onsi/ginkgo/ginkgo && go get github.com/onsi/gomega/... + - name: Install tests dependencies + run: make bootstrap - name: Running tests run: ./ci/ci-test.sh diff --git a/tests/e2e/run_test.go b/tests/e2e/run_test.go index 7ec08af40..e8e95729b 100644 --- a/tests/e2e/run_test.go +++ b/tests/e2e/run_test.go @@ -197,7 +197,7 @@ func verifyCVDeleted(cvName string) { return fmt.Errorf("cstorvolume exists %s", cvName) } return nil - }).Should(Succeed()) + }, 300, 10).Should(Succeed()) } func verifySnapshotDeleted(snapName string) {