diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f5047e..d3c1019 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,3 +45,8 @@ jobs: poetry run pytest poetry check poetry run pip check + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + file: ./coverage.xml diff --git a/README.md b/README.md index dbda645..f13e5a1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/lvm/django-eav2.svg?branch=master)](https://travis-ci.org/lvm/django-eav2) +[![codecov](https://codecov.io/gh/jazzband/django-eav2/branch/master/graph/badge.svg?token=BJk3zS22BS)](https://codecov.io/gh/jazzband/django-eav2) ![Python Version](https://img.shields.io/badge/Python-3.6,%203.7,%203.8,%203.9-blue.svg) ![Django Version](https://img.shields.io/badge/Django-2.2,%20,3.1,%203.2-green.svg) [![Jazzband](https://jazzband.co/static/img/badge.svg)](https://jazzband.co/)