drone-opencov/DOCS.md

884 B

date title author tags repo logo image
2018-12-09T00:00:00+00:00 Coveralls lizheming
coverage
test
reporting
coveralls
lizheming/drone-coveralls coveralls.svg lizheming/drone-coveralls

This plugin can upload coverage reports to Coveralls. The below pipeline configuration demonstrates simple usage:

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

Parameter Reference

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