Resolve coverage dependency conflict (#4191)

This commit is contained in:
Bert Blommers 2021-08-18 09:19:27 +01:00 committed by GitHub
parent 27c9b31d3a
commit c296a9431e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -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: |
@ -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: |
@ -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
@ -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 }}

View File

@ -3,7 +3,6 @@
black==19.10b0
regex==2019.11.1
coverage==4.5.4
flake8==3.7.8
boto>=2.45.0
click