Skip to content

Commit

Permalink
update other badges
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzengh committed Oct 24, 2023
1 parent 571c4b1 commit 6b68c52
Show file tree
Hide file tree
Showing 20 changed files with 94 additions and 21 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/clickhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd clickhouse && go build -v ./...
- name: Test
run: cd clickhouse && go test -v -gcflags=all=-l ./...
run: cd clickhouse && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./clickhouse/coverage.out
flags: clickhouse
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/cos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd cos && go build -v ./...
- name: Test
run: cd cos && go test -v -gcflags=all=-l ./...
run: cd cos && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./cos/coverage.out
flags: cos
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/gorm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd gorm && go build -v ./...
- name: Test
run: cd gorm && go test -v -gcflags=all=-l ./...
run: cd gorm && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./gorm/coverage.out
flags: gorm
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/hbase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd hbase && go build -v ./...
- name: Test
run: cd hbase && go test -v -gcflags=all=-l ./...
run: cd hbase && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./hbase/coverage.out
flags: hbase
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd kafka && go build -v ./...
- name: Test
run: cd kafka && go test -v ./...
run: cd kafka && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./kafka/coverage.out
flags: kafka
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd mysql && go build -v ./...
- name: Test
run: cd mysql && go test -v -gcflags=all=-l ./...
run: cd mysql && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./mysql/coverage.out
flags: mysql
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

9 changes: 8 additions & 1 deletion .github/workflows/timer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Build
run: cd timer && go build -v ./...
- name: Test
run: cd timer && go test -v -gcflags=all=-l ./...
run: cd timer && go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./timer/coverage.out
flags: timer
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

2 changes: 2 additions & 0 deletions clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ English | [中文](README.zh_CN.md)

# tRPC-Go clickhouse plugin

[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=clickhouse&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/clickhouse)

## Clickhouse client configuration
> This project depends on clickhouse-go's v2 version, which is compatible with [v1 version dsn](https://github.com/ClickHouse/clickhouse-go /tree/v1#dsn), in order to prevent omissions, it is recommended to use [v2 version of dsn](https://github.com/ClickHouse/clickhouse-go#dsn).
Expand Down
2 changes: 2 additions & 0 deletions clickhouse/README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# tRPC-Go clickhouse 插件

[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=clickhouse&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/clickhouse)

## clickhouse client 配置
> 本项目依赖官方库 clickhouse-go 的 v2 版本,兼容了 [v1 版本的 dsn](https://github.com/ClickHouse/clickhouse-go/tree/v1#dsn),为防止有疏漏,建议使用 [v2 版本的 dsn](https://github.com/ClickHouse/clickhouse-go#dsn)
Expand Down
7 changes: 4 additions & 3 deletions cos/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
The COS client that adapts to the trpc-go framework.

English | [中文](README.zh_CN.md)

### cos config

Service based on the trpc-go framework.
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=cos&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/cos)

The COS client that adapts to the trpc-go framework. Service based on the trpc-go framework.

#### Tencent Cloud cos.Conf

Add it to the trpc-go.yaml configuration, where Region can refer to the [Tencent Cloud documentation](https://cloud.tencent.com/document/product/436/6224).
Expand Down
7 changes: 4 additions & 3 deletions cos/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
适配trpc-go框架的cos客户端

[English](README.md) | 中文

### cos 配置

基于trpc-go框架的服务
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=cos&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/cos)

适配trpc-go框架的cos客户端。基于trpc-go框架的服务

#### 腾讯云cos.Conf

在配置trpc-go.yaml中加入,其中Region可参考[腾讯云文档](https://cloud.tencent.com/document/product/436/6224)
Expand Down
4 changes: 3 additions & 1 deletion gorm/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
English | [中文](README.zh_CN.md)

# Gorm trpc plugin

English | [中文](README.zh_CN.md)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=gorm&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/gorm)

This plugin provides a wrapper for the Gorm in trpc, allowing you to use the native Gorm interface while reusing trpc's plugin ecosystem.

Expand Down
4 changes: 3 additions & 1 deletion gorm/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[English](README.md) | 中文

# Gorm trpc插件

[English](README.md) | 中文
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=gorm&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/gorm)

该插件实现了对Gorm ConnPool的trpc封装,可以使用原生Gorm接口同时复用trpc的插件生态

Expand Down
2 changes: 2 additions & 0 deletions hbase/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# tRPC-GO hbase 插件

[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=hbase&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/hbase)

封装 [hbase](https://github.com/tsuna/gohbase),配合 trpc 使用

## hbase client 框架配置
Expand Down
4 changes: 3 additions & 1 deletion kafka/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
English | [中文](README.zh_CN.md)

# tRPC-Go kafka plugin

English | [中文](README.zh_CN.md)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=kafka&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/kafka)

wrapping community [sarama](https://github.com/Shopify/sarama), used with trpc.

Expand Down
4 changes: 3 additions & 1 deletion kafka/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[English](README.md) | 中文

# tRPC-Go kafka 插件

[English](README.md) | 中文
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=kafka&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/kafka)

封装社区的 [sarama](https://github.com/Shopify/sarama) ,配合 trpc 使用。

Expand Down
4 changes: 3 additions & 1 deletion mysql/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
English | [中文](README.zh_CN.md)

# tRPC-Go mysql plugin

English | [中文](README.zh_CN.md)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=mysql&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/mysql)

## Wrapping Standard Library Native Sql

Expand Down
4 changes: 3 additions & 1 deletion mysql/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[English](README.md) | 中文

# tRPC-Go mysql 插件

[English](README.md) | 中文
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=mysql&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/mysql)

## 封装标准库原生 sql

Expand Down
4 changes: 3 additions & 1 deletion timer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
English | [中文](README.zh_CN.md)

# tRPC-Go timer plugin

English | [中文](README.zh_CN.md)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=timer&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/timer)

## timer service

Expand Down
4 changes: 3 additions & 1 deletion timer/README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[English](README.md) | 中文

# tRPC-Go timer 定时器插件

[English](README.md) | 中文
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-database/branch/coverage/graph/badge.svg?flag=timer&precision=2)](https://app.codecov.io/gh/trpc-ecosystem/go-database/tree/coverage/timer)

## timer service

Expand Down

0 comments on commit 6b68c52

Please sign in to comment.