Skip to content

Commit

Permalink
Add codecov as part of ci checks
Browse files Browse the repository at this point in the history
Osie uses codecov already, this PR extends its use with the tink
repository.

Right now there is not support for PR comments or things like that. It
just updates codecov

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
  • Loading branch information
Gianluca Arbezzano committed Aug 19, 2020
1 parent ace7f59 commit 75ecb74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
uses: golangci/golangci-lint-action@v1
with:
version: v1.30
- name: go vet
run: go test ./...
- name: go test
run: go test -coverprofile=coverage.txt ./...
- name: upload codecov
run: bash <(curl -s https://codecov.io/bash)
- name: Build binaries
run: make
- name: Upload tink-server binary
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Tinkerbell

[![Build Status](https://cloud.drone.io/api/badges/tinkerbell/tink/status.svg)](https://cloud.drone.io/tinkerbell/tink)
[![codecov](https://codecov.io/gh/tinkerbell/tink/branch/master/graph/badge.svg)](https://codecov.io/gh/tinkerbell/tink)

It is comprised of following five major components:

Expand Down

0 comments on commit 75ecb74

Please sign in to comment.