Drone plugin for pushing test coverage to an opencov instance.
Go to file
2018-12-10 00:03:17 +08:00
.gitignore Initial commit 2018-12-09 23:11:34 +08:00
coveralls.svg add logo 2018-12-10 00:03:13 +08:00
Dockerfile add entrypoint init 2018-12-10 00:03:07 +08:00
entrypoint.sh add entrypoint init 2018-12-10 00:03:07 +08:00
LICENSE Initial commit 2018-12-09 23:11:34 +08:00
README.md update readme 2018-12-10 00:03:17 +08:00

logo

drone-coveralls

BuildStatus Coverage Status Docker Pulls

Drone plugin for pushing test coverage to coveralls

This plugin allows for pushing test coverage results to Coveralls.io.

Configuration

First of all you should set environment COVERALLS_REPO_TOKEN for plugin. And the following parameters are used to configure the plugin:

files: list of target files to upload. Required. token: if you have not set environment COVERALLS_REPO_TOKEN, you should set the private repository token. debug: debug mode, defaults to false.

Drone configuration examples

steps:
- name: test
  image: node:alpine
  commands:
  - npm install
  - npm run test -- --reporter=text-lcov > ./lcov.info

- name: coveralls
  image: lizheming/drone-coveralls
  environment:
    COVERALLS_REPO_TOKEN:
      from_secret: coveralls_token
  settings:
    files:
    - ./lcov.info