Skip to content

Commit

Permalink
move away from Ginkgo
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Aug 27, 2024
1 parent c7ec8c8 commit 76e6073
Show file tree
Hide file tree
Showing 14 changed files with 723 additions and 783 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ jobs:
with:
go-version: ${{ matrix.go }}
- run: go version
- name: Install dependencies
run: go build
- name: Run tests
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -cover -randomize-all -randomize-suites -trace -skip-package integrationtests
run: go test -v -cover -race -shuffle=on .
- name: Run tests (32 bit)
env:
GOARCH: 386
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -cover -coverprofile coverage.txt -output-dir . -randomize-all -randomize-suites -trace -skip-package integrationtests
- name: Run tests with race detector
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -race -randomize-all -randomize-suites -trace -skip-package integrationtests
run: go test -v -cover -coverprofile=coverage.txt -shuffle=on .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand All @@ -37,15 +33,15 @@ jobs:
name: Integration tests (Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4
submodules: 'recursive'
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go version
- name: Install dependencies
run: go build
- name: Run tests
- name: Run interop tests
run: go test -v -race -shuffle=on ./integrationtests/interop
- name: Run integration tests
run: |
for i in {1..25}; do
go run github.com/onsi/ginkgo/v2/ginkgo -race -v -randomize-all -trace integrationtests/self;
go test -v -race -shuffle=on ./integrationtests/self
done
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ git submodule update --init --recursive

Then run the tests:
```bash
ginkgo -r integrationtests
go test -v ./integrationtests/interop/
```
Loading

0 comments on commit 76e6073

Please sign in to comment.