Skip to content

Commit

Permalink
cicd: added codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubPluta committed Jan 9, 2024
1 parent a9b6054 commit 5eeb355
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
pip install requests pytest-cov pytest-mock pytest
pytest --cov=./ --cov-report=xml -vv -ss
echo "tests finished"
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# directory: ./coverage/reports/
# env_vars: OS,PYTHON
# fail_ci_if_error: true
# files: ./coverage.xml,./coverage1.xml,./coverage2.xml,!./cache
# flags: unittests
# name: codecov-umbrella
# verbose: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml,./coverage1.xml,./coverage2.xml,!./cache
flags: unittests
name: codecov-umbrella
verbose: true
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# DefiLlama (dfllama)

[![codecov](https://codecov.io/gh/JakubPluta/defillama/graph/badge.svg?token=736JAQGR1C)](https://codecov.io/gh/JakubPluta/defillama)
[![PyPI version](https://badge.fury.io/py/defillama.svg)](https://badge.fury.io/py/defillama)
<a target="new" href="https://github.com/JakubPluta/defillama"><img border=0 src="https://img.shields.io/github/stars/JakubPluta/defillama.svg?style=social&label=Star&maxAge=60" alt="Star this repo"></a>


The Python wrapper for the Defi Llama API that provides open and transparent DeFi analytics. It allows you to easily access and retrieve data from the Defi Llama platform, which offers comprehensive insights into the decentralized finance ecosystem
See more: [DefiLlama](https://defillama.com/)

Expand All @@ -11,7 +17,7 @@ See more: [DefiLlama](https://defillama.com/)

## Installation

### Install with pip as package
### Install with pip as a package [pip](https://pypi.org/project/dfllama)

```bash
pip install dfllama
Expand Down

0 comments on commit 5eeb355

Please sign in to comment.