diff --git a/README.md b/README.md index e8f8432..4643205 100644 --- a/README.md +++ b/README.md @@ -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% ``` \ No newline at end of file