Browse Source

ci/coveralls: add lower version constraint

Fabian Peter Hammerle 4 years ago
parent
commit
d33bf43f83
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/workflows/python.yml

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

@@ -39,9 +39,12 @@ jobs:
     - run: pipenv run pylint --disable=missing-requirement --disable=parse-error tests/*
     - run: pipenv run pytest --cov=ical2vdir --cov-report=term-missing --cov-fail-under=100
     - run: pipenv run black --check .
+    # >=1.9.0 to detect branch name
+    # https://github.com/coveralls-clients/coveralls-python/pull/207
+    # https://github.com/coverallsapp/github-action/issues/4#issuecomment-547036866
+    - run: pip install 'coveralls>=1.9.0,<2'
     # https://github.com/coverallsapp/github-action/issues/30
     # https://github.com/coverallsapp/github-action/issues/4#issuecomment-529399410
-    - run: pip install 'coveralls<2'
     - run: coveralls
       env:
         COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}