Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codecov/example-clojure
Example Clojure integration with Codecov
https://github.com/codecov/example-clojure
clojure coverage
Last synced: about 1 month ago
JSON representation
Example Clojure integration with Codecov
- Host: GitHub
- URL: https://github.com/codecov/example-clojure
- Owner: codecov
- License: mit
- Created: 2015-05-27T12:30:22.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T19:26:14.000Z (about 1 month ago)
- Last Synced: 2024-11-13T20:26:47.108Z (about 1 month ago)
- Topics: clojure, coverage
- Language: Clojure
- Homepage: https://codecov.io
- Size: 20.5 KB
- Stars: 14
- Watchers: 22
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Codecov][1] Clojure example
[![Build Status](https://github.com/codecov/example-clojure/actions/workflows/ci.yml/badge.svg)]
[![codecov.io](https://codecov.io/github/codecov/example-clojure/coverage.svg?branch=master)](https://codecov.io/github/codecov/example-clojure?branch=master)## Guide
### GitHub Actions Step
Add to your workflows file.
```yml
- name: Upload to Codecov (Action)
uses: codecov/codecov-action@v2
with:
token: {{ token }}
```
or
```yml
- 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````clojure
:plugins [[lein-cloverage "1.1.1"]]
``````
CLOVERAGE_VERSION=1.1.1 lein cloverage --codecov
```This uses [cloverage with the @dlobue's codecov.io reporter](https://github.com/lshift/cloverage/pull/78).
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](https://elzbieciak.pl/).
We are happy to help if you have any questions. Please contact email our Support at [[email protected]](mailto:[email protected])
[1]: https://codecov.io/