Skip to content

Commit cc10ae5

Browse files
run integration tests on GitHub Actions
1 parent d3a8990 commit cc10ae5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,28 @@ jobs:
3333
with:
3434
file: coverage.txt
3535
env_vars: GO=${{ matrix.go }}
36+
integration:
37+
strategy:
38+
matrix:
39+
go: [ "1.14", "1.15" ]
40+
runs-on: ubuntu-latest
41+
name: Integration tests (Go ${{ matrix.go }})
42+
steps:
43+
- uses: actions/checkout@v2
44+
- uses: actions/setup-go@v2
45+
with:
46+
go-version: ${{ matrix.go }}
47+
- run: go version
48+
- name: Install test tools
49+
run: |
50+
go get golang.org/x/tools/cmd/cover
51+
go get github.com/onsi/ginkgo/ginkgo
52+
go get github.com/onsi/gomega
53+
- name: Install dependencies
54+
run: go build
55+
- name: Run tests
56+
run: |
57+
for i in {1..25}; do
58+
ginkgo -race -v -randomizeAllSpecs -trace integrationtests/self;
59+
done
3660

0 commit comments

Comments
 (0)