Resolve coverage dependency conflict (#4191)
This commit is contained in:
parent
27c9b31d3a
commit
c296a9431e
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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 }}
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
black==19.10b0
|
||||
regex==2019.11.1
|
||||
coverage==4.5.4
|
||||
flake8==3.7.8
|
||||
boto>=2.45.0
|
||||
click
|
||||
|
Loading…
Reference in New Issue
Block a user