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-cc1101/commit/8d1d8bb0f2da136c880b59c4efcb010b42109e5a
Fabian Peter Hammerle 1 year ago
parent
commit
e868a90eff
1 changed files with 1 additions and 9 deletions
  1. 1 9
      .github/workflows/python.yml

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

@@ -67,12 +67,4 @@ jobs:
     # > [Errno 2] No such file or directory: 'tests/resources/__init__.py' (parse-error)
     - run: pipenv run pylint --disable=parse-error 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