From 244c3f52523616ed95f9437b86616a4602c62a83 Mon Sep 17 00:00:00 2001 From: Andrei Markin Date: Mon, 12 Feb 2024 00:53:29 +0400 Subject: [PATCH] Push coverage to codecov --- .github/workflows/pytest.yml | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 06edfd9..068bc5c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -25,3 +25,7 @@ jobs: - name: Test with pytest run: | pytest tests/*.py + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 85149a9..231efe7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![PyPI](https://img.shields.io/pypi/v/terka?logo=pypi&logoColor=white&style=flat-square)](https://pypi.org/project/terka) [![Downloads](https://static.pepy.tech/badge/terka)](https://pypi.org/project/terka) [![GitHub Workflow CI](https://img.shields.io/github/actions/workflow/status/AndreyMarkinPPC/terka/pytest.yml?branch=main&label=pytest&logo=python&logoColor=white&style=flat-square)](https://github.com/AndreyMarkinPPC/terka/actions/workflows/pytest.yml?branch=main) +[![codecov](https://codecov.io/gh/AndreyMarkinPPC/terka/graph/badge.svg?token=UIL7GKUVHN)](https://codecov.io/gh/AndreyMarkinPPC/terka) `terka` (pronounced *tyorka* or *Тёрка*) is a CLI tool that helps you manage your tasks