/drone-covergates

Drone Plugin for Covergates

Primary LanguageJsonnetMIT LicenseMIT

Covergates

This is the Drone Plugin for uploading report to Covergates. Below pipeline configuration shows how to use it:

kind: pipeline
name: default
steps:
  - name: upload
    image: covergates/drone-covergates
    settings:
      report_id: bt9huh223akg00dkqseg
      report: ./coverage/lcov.info
      type: lcov

To leave comment on pull request:

kind: pipeline
name: default
steps:
  - name: upload
    image: covergates/drone-covergates
    settings:
      report_id: bt9huh223akg00dkqseg
      report: ./coverage/lcov.info
      type: lcov
      comment: true
    when:
      event:
        - pull_request

Available arguments:

  • report_id: Report ID found in repository setting
  • report: coverage report
  • type: report type, please refer to documents for more detail
  • comment: set true to leave a comment on your pull request

⚠️ Current version supports Linux x64, ARM and ARM x64 container.