Added codecov, goreport
This commit is contained in:
parent
a0157e39c6
commit
69a75fbcaa
|
@ -0,0 +1,8 @@
|
||||||
|
coverage:
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
target: 40%
|
||||||
|
threshold: null
|
||||||
|
patch: false
|
||||||
|
changes: false
|
|
@ -24,7 +24,11 @@ install:
|
||||||
script:
|
script:
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
- go test ./...
|
# Run tests
|
||||||
|
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
|
# Make
|
||||||
- make build/static/index.html
|
- make build/static/index.html
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
|
@ -11,11 +11,18 @@
|
||||||
<a href="https://adguard.com/">AdGuard.com</a> |
|
<a href="https://adguard.com/">AdGuard.com</a> |
|
||||||
<a href="https://github.com/AdguardTeam/AdGuardHome/wiki">Wiki</a> |
|
<a href="https://github.com/AdguardTeam/AdGuardHome/wiki">Wiki</a> |
|
||||||
<a href="https://reddit.com/r/Adguard">Reddit</a> |
|
<a href="https://reddit.com/r/Adguard">Reddit</a> |
|
||||||
<a href="https://twitter.com/AdGuard">Twitter</a>
|
<a href="https://twitter.com/AdGuard">Twitter</a> |
|
||||||
|
<a href="https://t.me/adguard_en">Telegram</a>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<a href="https://travis-ci.org/AdguardTeam/AdGuardHome">
|
<a href="https://travis-ci.org/AdguardTeam/AdGuardHome">
|
||||||
<img src="https://travis-ci.org/AdguardTeam/AdGuardHome.svg" alt="Build status" />
|
<img src="https://travis-ci.org/AdguardTeam/AdGuardHome.svg" alt="Build status" />
|
||||||
</a>
|
</a>
|
||||||
|
<a href="https://codecov.io/github/AdguardTeam/AdGuardHome?branch=master">
|
||||||
|
<img src="https://img.shields.io/codecov/c/github/AdguardTeam/AdGuardHome/master.svg" alt="Code Coverage" />
|
||||||
|
</a>
|
||||||
|
<a href="https://goreportcard.com/report/AdguardTeam/AdGuardHome">
|
||||||
|
<img src="https://goreportcard.com/badge/github.com/AdguardTeam/AdGuardHome" alt="Go Report Card" />
|
||||||
|
</a>
|
||||||
<a href="https://github.com/AdguardTeam/AdGuardHome/releases">
|
<a href="https://github.com/AdguardTeam/AdGuardHome/releases">
|
||||||
<img src="https://img.shields.io/github/release/AdguardTeam/AdGuardHome/all.svg" alt="Latest release" />
|
<img src="https://img.shields.io/github/release/AdguardTeam/AdGuardHome/all.svg" alt="Latest release" />
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue