Skip to content

Commit 52d69d8

Browse files
Merge pull request #79 from osbytes/codecov
add codecov
2 parents 4763821 + 32ccff6 commit 52d69d8

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/go.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ jobs:
2727
run: go build -v ./...
2828

2929
- name: Test
30-
run: go test -v ./...
30+
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
31+
32+
- name: Upload coverage to Codecov
33+
run: bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
<h1 style="border-bottom: none;" align="center">Devy</h1>
2+
13
<p align="center">
2-
<h1 style="border-bottom: none;">Devy</h1>
4+
<img src="./devy.svg" height="175">
5+
</p>
36

4-
<img src="./devy.svg" height="175">
7+
<a align="center" href="https://codecov.io/gh/osbytes/devy">
8+
<img src="https://codecov.io/gh/osbytes/devy/branch/main/graph/badge.svg" alt="codecov" />
9+
</a>
510

611
A developer focused discord bot written in go
712

8-
</p>
913

1014
## How to Get Started
1115

0 commit comments

Comments
 (0)