Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: add badges #2

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/pr.yml → .github/workflows/prc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
run: go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage.out
flags: unittests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
golangci:
name: lint
runs-on: self-hosted
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Introduction

[![Go Reference](https://pkg.go.dev/badge/github.com/trpc.group/tnet.svg)](https://pkg.go.dev/github.com/trpc.group/tnet)
[![Go Report Card](https://goreportcard.com/badge/github.com/trpc.group/trpc-go/tnet)](https://goreportcard.com/report/github.com/trpc.group/trpc-go/tnet)
[![LICENSE](https://img.shields.io/github/license/trpc.group/tnet.svg?style=flat-square)](https://github.com/trpc.group/tnet/blob/main/LICENSE)
[![Releases](https://img.shields.io/github/release/trpc.group/tnet.svg?style=flat-square)](https://github.com/trpc.group/tnet/releases)
[![Docs](https://img.shields.io/badge/docs-latest-green)](http://test.trpc.group.woa.com/docs/)
[![Tests](https://github.com/trpc.group/tnet/actions/workflows/prc.yaml/badge.svg)](https://github.com/trpc.group/tnet/actions/workflows/prc.yaml)
[![Coverage](https://codecov.io/gh/trpc.group/tnet/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc.group/tnet/tree/main)

[中文版](./README_cn.md)

__tnet__ is an event loop networking framework that provides versatile models. The core aims are:
Expand Down
8 changes: 8 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# 简介

[![Go Reference](https://pkg.go.dev/badge/github.com/trpc.group/tnet.svg)](https://pkg.go.dev/github.com/trpc.group/tnet)
[![Go Report Card](https://goreportcard.com/badge/github.com/trpc.group/trpc-go/tnet)](https://goreportcard.com/report/github.com/trpc.group/trpc-go/tnet)
[![LICENSE](https://img.shields.io/github/license/trpc.group/tnet.svg?style=flat-square)](https://github.com/trpc.group/tnet/blob/main/LICENSE)
[![Releases](https://img.shields.io/github/release/trpc.group/tnet.svg?style=flat-square)](https://github.com/trpc.group/tnet/releases)
[![Docs](https://img.shields.io/badge/docs-latest-green)](http://test.trpc.group.woa.com/docs/)
[![Tests](https://github.com/trpc.group/tnet/actions/workflows/prc.yaml/badge.svg)](https://github.com/trpc.group/tnet/actions/workflows/prc.yaml)
[![Coverage](https://codecov.io/gh/trpc.group/tnet/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc.group/tnet/tree/main)

[English](./README.md)

__tnet__ 是一个提供了多种模式以满足不同业务需求的网络库,它解决了以下业务诉求:
Expand Down
Loading