add codecov.yaml
This commit is contained in:
parent
590461c281
commit
08687bae35
2
.github/workflows/ut_check.yml
vendored
2
.github/workflows/ut_check.yml
vendored
@ -27,4 +27,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export DEFAULT_EXCEPT_PKGS=e2e
|
export DEFAULT_EXCEPT_PKGS=e2e
|
||||||
go test -p 1 -coverprofile=coverage.txt $(go list ./... | grep -v -E $DEFAULT_EXCEPT_PKGS)
|
go test -p 1 -coverprofile=coverage.txt $(go list ./... | grep -v -E $DEFAULT_EXCEPT_PKGS)
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash) -F unittest
|
||||||
|
8
codecov.yaml
Normal file
8
codecov.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
comment:
|
||||||
|
layout: "reach, diff, flags, files"
|
||||||
|
behavior: new
|
||||||
|
require_changes: false # if true: only post the comment if coverage changes
|
||||||
|
require_base: no # [yes :: must have a base report to post]
|
||||||
|
require_head: yes # [yes :: must have a head report to post]
|
||||||
|
branches: # branch names that can post comment
|
||||||
|
- "master"
|
@ -13,6 +13,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
echo "test start"
|
echo "test start"
|
||||||
|
|
||||||
bats server.bats
|
bats server.bats
|
||||||
|
Loading…
Reference in New Issue
Block a user