feature: update readme
This commit is contained in:
parent
41517ff292
commit
c0daf06ee6
27
README.md
27
README.md
|
@ -34,4 +34,31 @@ TEST_FILE_TO_WATCH_PATH=./test_monitor.txt
|
||||||
To build you can only just `make build` command
|
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