Skip to content

Commit 8675832

Browse files
authored
chore: run e2e tests in ci, add sm pull to makefile (#298)
Signed-off-by: Todd Baert <[email protected]>
1 parent 13444e7 commit 8675832

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: .github/workflows/pr-checks.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ jobs:
5353
with:
5454
path: ~/go/pkg/mod
5555
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
56-
- name: Run tests
56+
- name: Run unit tests
5757
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
58+
- name: Run e2e tests
59+
run: go test -race --coverprofile=coverage.out -covermode=atomic ./e2e/...
5860
- name: Upload coverage to Codecov
5961
uses: codecov/[email protected]
6062
with:

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mockgen:
55
test:
66
go test --short -cover ./...
77
e2e-test:
8-
go test -race -cover ./e2e/...
8+
git submodule update --init --recursive && go test -race -cover ./e2e/...
99
lint:
1010
go install -v github.com/golangci/golangci-lint/cmd/[email protected]
1111
${GOPATH}/bin/golangci-lint run --deadline=3m --timeout=3m ./... # Run linters

0 commit comments

Comments
 (0)