Skip to content

Commit 2bc7b2c

Browse files
authored
Added badges (#23)
* Added badges Closes #9
1 parent 56160c6 commit 2bc7b2c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
TARANTOOL_VERSION: ${{ matrix.tarantool }}
4444
run: make run_tests
4545

46+
- name: Code coverage
47+
if: ${{ matrix.mysql == '5.7.32' && matrix.tarantool == '1.10.8' }}
48+
uses: codecov/codecov-action@v1
49+
with:
50+
file: profile.cov
51+
4652
- name: Cleanup
4753
if: ${{ always() }}
4854
run: make env_down

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ run_tests: env_up
2727
go test -count=1 -v -race -covermode=atomic -coverprofile=profile.cov ./...
2828
go tool cover -func=profile.cov
2929
go tool cover -html=profile.cov -o cover.html
30-
rm profile.cov
3130

3231
.PHONY: env_up
3332
env_up:

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pparshin/go-mysql-tarantool?sort=semver&style=for-the-badge)
2+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/pparshin/go-mysql-tarantool/CI?style=for-the-badge)
3+
![Coverage Status](https://img.shields.io/codecov/c/github/pparshin/go-mysql-tarantool?style=for-the-badge)
4+
5+
16
# MySQL - Tarantool replicator
27

38
It is a service to replicate data from MySQL into Tarantool automatically.

0 commit comments

Comments
 (0)