Skip to content

joscha/codecov-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Codecov Buildkite Plugin

An Buildkite plugin for running Codecov.

It contains a post-command hook, and tests using plugin-tester.

Example

steps:
  - plugins:
      - joscha/codecov#v3.1.0: ~

The shell option can be used to forward parameters to the codecov invocation.

steps:
  - plugins:
      - joscha/codecov#v3.1.0:
          args:
            - '-v'
            - '-F my_flag'

In case you do not want to upload coverage results after a failed command step:

steps:
  - plugins:
      - joscha/codecov#v3.1.0:
          skip_on_fail: true

By default it will use the bundled PGP key to verify the downloaded binary, but you can override the URL via:

steps:
  - plugins:
      - joscha/codecov#v3.1.0:
          pgp_public_key_url: https://keybase.io/codecovsecurity/pgp_keys.asc

Tests

To run the tests of this plugin, run

docker-compose run --rm tests

License

MIT (see LICENSE)