feature: update readme

main
Urko 1 year ago
parent 41517ff292
commit c0daf06ee6

@ -34,4 +34,31 @@ TEST_FILE_TO_WATCH_PATH=./test_monitor.txt
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%
```
Loading…
Cancel
Save