From cb9183335f6e57f5b589ed527dd0a0c1e229be13 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 4 Oct 2023 00:42:49 -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 3db3b61..4a256d0 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 agateexcel + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: coveralls --service=github diff --git a/README.rst b/README.rst index 36f965b..251b211 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,10 @@ :target: https://github.com/wireservice/agate-excel/actions :alt: Build status +.. image:: https://coveralls.io/repos/wireservice/agate-excel/badge.svg?branch=master + :target: https://coveralls.io/r/wireservice/agate-excel + :alt: Coverage status + .. image:: https://img.shields.io/pypi/dm/agate-excel.svg :target: https://pypi.python.org/pypi/agate-excel :alt: PyPI downloads