Skip to content

Commit c4f7915

Browse files
committed
ci: Fix coverage-badge version to work with Python2
1 parent 774fd53 commit c4f7915

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
run: |
2727
python -m pip install --upgrade pip
2828
# It seems that coverage6.0 has been released, and it resolves to 6.0, which causes an error in coverage-badge, so tentatively specifying the coverage version.
29+
# In addition, coverage-badge1.0.2 seems to have dropped support for Python2.
2930
# pip install flake8 pytest pytest-cov coverage-badge
30-
pip install flake8 pytest 'coverage>=5.5,<6' pytest-cov coverage-badge
31+
pip install flake8 pytest 'coverage>=5.5,<6' pytest-cov coverage-badge==1.0.1
3132
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3233
3334
- name: Lint with flake8

0 commit comments

Comments
 (0)