Skip to content
Permalink
Browse files

Adding code coverage

  • Loading branch information...
Depado committed Nov 12, 2017
1 parent 3470fc0 commit efc7e795a3a53391aff2ae0cfbfb279d9cca579d
Showing with 10 additions and 5 deletions.
  1. +9 −0 .drone.yml
  2. +1 −5 README.md
@@ -22,3 +22,12 @@ pipeline:
environment:
- GOARCH=${ARCH}
- CGO_ENABLED=0

test:
image: golang:1.9
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic

codecov:
image: robertstettner/drone-codecov
secrets: [ codecov_token ]
@@ -3,6 +3,7 @@
![Go Version](https://img.shields.io/badge/go-1.9-brightgreen.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/Depado/gomonit)](https://goreportcard.com/report/github.com/Depado/gomonit)
[![Build Status](https://drone.depado.eu/api/badges/Depado/gomonit/status.svg)](https://drone.depado.eu/Depado/gomonit)
[![codecov](https://codecov.io/gh/Depado/gomonit/branch/master/graph/badge.svg)](https://codecov.io/gh/Depado/gomonit)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Depado/bfchroma/blob/master/LICENSE)

Small soft to check if your services are running, providing a web interface.
@@ -11,11 +12,6 @@ It also integrates with Github to fetch your commits, and with drone to fetch
the build list. Other versionning system and CI system will eventually be
supported in the future.

## Note

This project is currently being refactored and is unstable. Once the refactor
is completed, a release will be issued.

## Status and Goals

The implementation is simple. It simply checks if the root of the site answers with a 200 OK. It doesn't check anything else.

0 comments on commit efc7e79

Please sign in to comment.
You can’t perform that action at this time.