Browse Source

pipeline: replace TheKevJames/coveralls-python with coverallsapp/github-action (fixing "422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs")

https://github.com/fphammerle/python-manchester-code/commit/81a66a970575486b841ca3d919c4b8f9e99f96ac
Fabian Peter Hammerle 1 year ago
parent
commit
8d1d8bb0f2
1 changed files with 1 additions and 9 deletions
  1. 1 9
      .github/workflows/python.yml

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

@@ -56,15 +56,7 @@ 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
+    - uses: coverallsapp/github-action@v2
   check-links:
     runs-on: ubuntu-20.04
     strategy: