/example-clojure

Example Clojure integration with Codecov

Primary LanguageClojureMIT LicenseMIT

Codecov Clojure example

[Build Status] codecov.io

Guide

GitHub Actions Step

Add to your workflows file.

  - name: Upload to Codecov (Action)
    uses: codecov/codecov-action@v2
    with:
      token: {{ token }}

or

  - name: Upload to Codecov (Uploader)
    run: |
      curl -Os https://uploader.codecov.io/latest/linux/codecov
      chmod +x codecov
      ./codecov -t {{ token }}

Producing Coverage Reports

Add to your project.clj

:plugins [[lein-cloverage "1.1.1"]]
CLOVERAGE_VERSION=1.1.1 lein cloverage --codecov

This uses cloverage with the @dlobue's codecov.io reporter.

  1. More documentation at https://docs.codecov.io
  2. Configure codecov through the codecov.yml https://docs.codecov.io/docs/codecov-yaml

License

MIT.

Originally authored by Jakub Elżbieciak.

We are happy to help if you have any questions. Please contact email our Support at support@codecov.io