feature: update readme

This commit is contained in:
Urko 2023-02-26 19:00:02 +01:00
parent 41517ff292
commit c0daf06ee6
1 changed files with 27 additions and 0 deletions

View File

@ -35,3 +35,30 @@ To build you can only just `make build` command
```bash
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%
```