Skip to content

Commit

Permalink
Merge branch 'master' into event-ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
utku-caglayan authored Dec 30, 2021
2 parents 3bb2d0f + 79d9fe1 commit e38029e
Show file tree
Hide file tree
Showing 92 changed files with 5,900 additions and 789 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CodeCoverageReport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Test
run: |
./rc.sh start
bash ./coverage.sh
env MEMBER_COUNT=3 make test-cover
- name: Publish to Codecov
uses: codecov/codecov-action@v2
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ build:
test: test-all

test-all:
env MEMBER_COUNT=$(MEMBER_COUNT) go test $(TEST_FLAGS) $(PACKAGES)
env MEMBER_COUNT=$(MEMBER_COUNT) go test $(TEST_FLAGS) $(PACKAGES) ./...

test-all-race:
env MEMBER_COUNT=$(MEMBER_COUNT) go test $(TEST_FLAGS) -race $(PACKAGES)

test-cover:
bash ./coverage.sh
env TEST_FLAGS="$(TEST_FLAGS)" bash ./coverage.sh

view-cover:
go tool cover -func $(COVERAGE_OUT) | grep total:
Expand Down
4 changes: 3 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ go vet -tags hazelcastinternal ./... 2>&1 | \
grep -v "org-website" \
|| true

staticcheck -tags hazelcastinternal $(go list ./... | grep -v org-website) | grep -v -E 'client_it_test.go.*SA1012'
staticcheck -tags hazelcastinternal $(go list ./... | grep -v org-website) | \
grep -v -E 'client_it_test.go.*SA1012' | \
grep -v -E 'internal/sql/driver/driver_test.go.*SA1012'

# Ensure fields are optimally aligned
# From: https://pkg.go.dev/golang.org/x/[email protected]/go/analysis/passes/fieldalignment
Expand Down
Loading

0 comments on commit e38029e

Please sign in to comment.