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