feature: update readme
This commit is contained in:
parent
41517ff292
commit
c0daf06ee6
27
README.md
27
README.md
|
@ -35,3 +35,30 @@ To build you can only just `make build` command
|
||||||
```bash
|
```bash
|
||||||
make build
|
make build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
```bash
|
||||||
|
make test-coverage
|
||||||
|
```
|
||||||
|
output:
|
||||||
|
```terminal
|
||||||
|
coverage: 80.0% of statements
|
||||||
|
ok gitea.urkob.com/urko/git-webhook-ci/internal/watcher 2.024s coverage: 80.0% of statements
|
||||||
|
coverage: 100.0% of statements
|
||||||
|
ok gitea.urkob.com/urko/git-webhook-ci/pkg/watcher 0.017s coverage: 100.0% of statements
|
||||||
|
```
|
||||||
|
|
||||||
|
## goreportcard
|
||||||
|
```bash
|
||||||
|
➜ git-webhook-ci git:(main) ✗ make goreportcard
|
||||||
|
oreportcard-cli -v
|
||||||
|
Grade .......... A+ 100.0%
|
||||||
|
Files .................. 6
|
||||||
|
Issues ................. 0
|
||||||
|
gofmt ............... 100%
|
||||||
|
go_vet .............. 100%
|
||||||
|
gocyclo ............. 100%
|
||||||
|
ineffassign ......... 100%
|
||||||
|
license ............. 100%
|
||||||
|
misspell ............ 100%
|
||||||
|
```
|
Loading…
Reference in New Issue