migrate to Ginkgo v2

This commit is contained in:
Marten Seemann
2022-10-11 13:10:27 +04:00
parent c9a878858e
commit 870fbe7ab0
186 changed files with 267 additions and 243 deletions

View File

@@ -19,7 +19,7 @@ jobs:
go-version: ${{ matrix.go }}
- run: go version
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Install dependencies
run: go install
- name: set qlogger
@@ -27,14 +27,14 @@ jobs:
run: echo "QLOGFLAG=-- -qlog" >> $GITHUB_ENV
- name: Run tests
run: |
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage self integrationtests
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests/self ${{ env.QLOGFLAG }}
ginkgo -r -v -randomize-all -randomize-suites -trace -skip-package self integrationtests
ginkgo -r -v -randomize-all -randomize-suites -trace integrationtests/self ${{ env.QLOGFLAG }}
- name: Run tests (32 bit)
env:
GOARCH: 386
run: |
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage self integrationtests
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests/self ${{ env.QLOGFLAG }}
ginkgo -r -v -randomize-all -randomizeSuites -trace -skip-package self integrationtests
ginkgo -r -v -randomize-all -randomizeSuites -trace integrationtests/self ${{ env.QLOGFLAG }}
- name: save qlogs
if: ${{ always() && env.DEBUG == 'true' }}
uses: actions/upload-artifact@v2