Skip to content

Commit

Permalink
chore(server): lint config & test config
Browse files Browse the repository at this point in the history
Signed-off-by: Trino <[email protected]>
  • Loading branch information
Trinoooo committed Jun 23, 2024
1 parent 934d1d8 commit c5b4d97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v2

- name: Run tests
run: make -f makefile test-with-cover TestPackage=./storage
run: make -f makefile test-with-cover TestPackage=./storage/server

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build-all: build-storage build-cli
# 测试
TestPackage := $(test_package)
test-with-cover:
EGGIE_KV_ENV='test' go test -timeout=1h $(TestPackage) -v -coverprofile=./c.out -count=1
EGGIE_KV_ENV='test' go test -gcflags="-d=checkptr" -race -timeout=1h $(TestPackage) -v -coverprofile=./c.out -count=1

BenchmarkPackage := $(benchmark_package)
BenchmarkTarget := $(benchmark_target)
Expand Down

0 comments on commit c5b4d97

Please sign in to comment.