Skip to content

Commit

Permalink
Resolve coverage dependency conflict (getmoto#4191)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored and sahilshah6196 committed Dec 20, 2021
1 parent 15d4bf0 commit 5baa76a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Update pip
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}
run: |
python -m pip install pip==21.1.3
python -m pip install --upgrade pip
- name: Install project dependencies
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}
run: |
Expand Down Expand Up @@ -96,8 +96,7 @@ jobs:
# Update PIP
- name: Update pip
run: |
# https://github.com/pypa/pip/issues/10201
python -m pip install pip==21.1.3
python -m pip install --upgrade pip
# Still need to properly install the dependencies - it will only skip the download part
- name: Install project dependencies
run: |
Expand Down Expand Up @@ -134,12 +133,14 @@ jobs:
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
- name: Update pip
run: |
python -m pip install pip==21.1.3
python -m pip install --upgrade pip
- name: Install project dependencies
run: |
pip install -r requirements-dev.txt
pip install pytest-cov
pip install pytest-github-actions-annotate-failures
# https://github.com/aws/aws-xray-sdk-python/issues/196
pip install "coverage<=4.5.4"
- name: Test with pytest
run: |
make test-coverage
Expand Down Expand Up @@ -182,10 +183,11 @@ jobs:
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
- name: Update pip
run: |
python -m pip install pip==21.1.3
python -m pip install --upgrade pip
- name: Install project dependencies
run: |
pip install -r requirements-dev.txt
pip install "coverage<=4.5.4"
- name: Test ServerMode/Coverage
env:
TEST_SERVER_MODE: ${{ true }}
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

black==19.10b0
regex==2019.11.1
coverage==4.5.4
flake8==3.7.8
boto>=2.45.0
click
Expand Down

0 comments on commit 5baa76a

Please sign in to comment.