Sign inSign up

lizheming/drone-coveralls

By lizheming

•Updated over 5 years ago

Drone plugin for pushing test coverage to coveralls

Image
0

10K+

lizheming/drone-coveralls repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

42.7 MB

Last updated

over 5 years ago

docker pull lizheming/drone-coveralls