Drone plugin for pushing test coverage to an opencov instance.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Austin Lee 642ddfc029
Update entrypoint.sh
1 year ago
.drone.yml up drone config 4 years ago
.gitignore Initial commit 4 years ago
DOCS.md add plugin-index doc 4 years ago
Dockerfile Update Dockerfile 1 year ago
LICENSE Initial commit 4 years ago
README.md rm coverage badge 4 years ago
coveralls.svg add logo 4 years ago
entrypoint.sh Update entrypoint.sh 1 year ago

README.md

logo

drone-coveralls

BuildStatus 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