From e629f56122cdcb98a1f57b0a4240bb89b4dac186 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 4 Oct 2023 00:42:47 -0400 Subject: [PATCH] ci: Report coverage to Coveralls --- .github/workflows/ci.yml | 3 +++ README.rst | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 052d538..99f0855 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,3 +17,6 @@ jobs: cache-dependency-path: setup.py - run: pip install .[test] - run: pytest --cov agatecharts + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: coveralls --service=github diff --git a/README.rst b/README.rst index a9666f5..e3955f0 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,10 @@ :target: https://github.com/wireservice/agate-charts/actions :alt: Build status +.. image:: https://coveralls.io/repos/wireservice/agate-charts/badge.svg?branch=master + :target: https://coveralls.io/r/wireservice/agate-charts + :alt: Coverage status + .. image:: https://img.shields.io/pypi/dw/agate-charts.svg :target: https://pypi.python.org/pypi/agate-charts :alt: PyPI downloads