Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin to Coverage 4 for Python 3.6-3.7 on Windows #1227

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,18 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade coverage
python -m pip install -e ".[d]"

- name: Install coverage (3.6-3.7 and Windows)
if: matrix.python-version <= 3.7 && startsWith(matrix.os, 'windows')
run: python -m pip install --upgrade "coverage<5"

- name: Install coverage (3.8+ or Ubuntu or Mac)
if:
startsWith(matrix.os , 'ubuntu') || startsWith(matrix.os , 'macOS') ||
matrix.python-version >= 3.8
run: python -m pip install --upgrade coverage

- name: Unit tests
run: |
coverage run tests/test_black.py