Skip to content

Commit

Permalink
e2e: run specs in parallel (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Feb 24, 2023
1 parent 6b5325d commit 18ef2f2
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Build x86 Image

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
branches:
- master
- release-*
Expand Down Expand Up @@ -142,7 +137,11 @@ jobs:
key: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-${{ hashFiles(format('{0}/**/go.sum', env.E2E_DIR)) }}
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- run: make e2e-compile
- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- run: make e2e-build
working-directory: ${{ env.E2E_DIR }}

k8s-conformance-e2e:
Expand Down Expand Up @@ -212,6 +211,10 @@ jobs:
with:
install_only: true

- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- name: Download image
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -304,6 +307,10 @@ jobs:
with:
install_only: true

- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- name: Download image
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -368,6 +375,10 @@ jobs:
with:
install_only: true

- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- name: Download image
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -450,6 +461,10 @@ jobs:
with:
install_only: true

- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- name: Download image
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -683,6 +698,10 @@ jobs:
with:
install_only: true

- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- name: Download image
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 18ef2f2

Please sign in to comment.