Browse Source

pipeline: remove coveralls ("422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs", `pytest --cov-fail-under=100 …` in place)

https://github.com/fphammerle/python-manchester-code/commit/81a66a970575486b841ca3d919c4b8f9e99f96ac
https://github.com/fphammerle/wireless-sensor-mqtt/commit/8316bd7766bc6ea49a864262eaa2869d161bfada
Fabian Peter Hammerle 1 year ago
parent
commit
35d8115ac3
2 changed files with 1 additions and 10 deletions
  1. 0 9
      .github/workflows/python.yml
  2. 1 1
      README.md

+ 0 - 9
.github/workflows/python.yml

@@ -65,12 +65,3 @@ jobs:
     # https://github.com/PyCQA/pylint/issues/352
     - run: pipenv run pylint tests/*
     - run: pipenv run mypy "$(cat *.egg-info/top_level.txt)" tests
-    # >=2.1.0 to support GITHUB_TOKEN
-    # COVERALLS_REPO_TOKEN required manual configuration of secret
-    # https://github.com/TheKevJames/coveralls-python/commit/f597109b62fadaf900af79d4f08a7debee5229e2
-    - run: pip install 'coveralls>=2.1.0,<4'
-    - run: coveralls
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        # https://github.com/TheKevJames/coveralls-python/issues/240#issuecomment-758336355
-        COVERALLS_SERVICE_NAME: github

+ 1 - 1
README.md

@@ -2,7 +2,7 @@
 
 [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
 [![CI Pipeline Status](https://github.com/fphammerle/systemctl-mqtt/workflows/tests/badge.svg)](https://github.com/fphammerle/systemctl-mqtt/actions)
-[![Coverage Status](https://coveralls.io/repos/github/fphammerle/systemctl-mqtt/badge.svg?branch=master)](https://coveralls.io/github/fphammerle/systemctl-mqtt?branch=master)
+![Coverage Status](https://ipfs.io/ipfs/QmP8k5H4MkfspFxQxdL2kEZ4QQWQjF8xwPYD35KvNH4CA6/20230429T090002+0200/s3.amazonaws.com/assets.coveralls.io/badges/coveralls_100.svg)
 [![Last Release](https://img.shields.io/pypi/v/systemctl-mqtt.svg)](https://pypi.org/project/systemctl-mqtt/#history)
 [![Compatible Python Versions](https://img.shields.io/pypi/pyversions/systemctl-mqtt.svg)](https://pypi.org/project/systemctl-mqtt/)
 [![DOI](https://zenodo.org/badge/272405671.svg)](https://zenodo.org/badge/latestdoi/272405671)