Skip to content

Commit

Permalink
Adding codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Suderman committed Jun 20, 2019
1 parent 8021c7e commit 3c66953
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- run: go get -u golang.org/x/lint/golint
- run: go list ./... | grep -v vendor | xargs golint -set_exit_status
- run: go list ./... | grep -v vendor | xargs go vet
- run: go test ./pkg/controller/... -coverprofile cover.out
- run: go test ./... -coverprofile=coverage.txt -covermode=atomic
- run: bash <(curl -s https://codecov.io/bash)

build:
docker:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ bin
# custom additions
tmp
.vscode

coverage.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RBAC Manager

[![Go Report Card](https://goreportcard.com/badge/github.com/reactiveops/rbac-manager)](https://goreportcard.com/report/github.com/reactiveops/rbac-manager) [![CircleCI](https://circleci.com/gh/reactiveops/rbac-manager.svg?style=svg)](https://circleci.com/gh/reactiveops/rbac-manager)
[![Go Report Card](https://goreportcard.com/badge/github.com/reactiveops/rbac-manager)](https://goreportcard.com/report/github.com/reactiveops/rbac-manager) [![CircleCI](https://circleci.com/gh/reactiveops/rbac-manager.svg?style=svg)](https://circleci.com/gh/reactiveops/rbac-manager) [![codecov](https://codecov.io/gh/reactiveops/rbac-manager/branch/master/graph/badge.svg)](https://codecov.io/gh/reactiveops/rbac-manager)

RBAC Manager was designed to simplify authorization in Kubernetes. This is an operator that supports declarative configuration for RBAC with new custom resources. Instead of managing role bindings or service accounts directly, you can specify a desired state and RBAC Manager will make the necessary changes to achieve that state.

Expand Down

0 comments on commit 3c66953

Please sign in to comment.