Skip to content

Commit

Permalink
修复测试错误
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Jan 8, 2024
1 parent 6b1f088 commit d65a210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:

- name: Run coverage
#run: cd test && go test -race -coverprofile=coverage.txt -covermode=atomic
run: go test -covermode=count -coverprofile=coverage.txt -covermode=atomic -run="^Test" -coverpkg=$(go list ./... | grep -v "/test" | tr '\n' ',') ./test
run: go test -race -covermode=count -coverprofile=coverage.txt -covermode=atomic -run="^Test" -coverpkg=$(go list ./... | grep -v "/test" | tr '\n' ',') ./test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

0 comments on commit d65a210

Please sign in to comment.