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
|
- name: Update pip
|
||||||
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
python -m pip install pip==21.1.3
|
python -m pip install --upgrade pip
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
@ -96,8 +96,7 @@ jobs:
|
|||||||
# Update PIP
|
# Update PIP
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
run: |
|
run: |
|
||||||
# https://github.com/pypa/pip/issues/10201
|
python -m pip install --upgrade pip
|
||||||
python -m pip install pip==21.1.3
|
|
||||||
# Still need to properly install the dependencies - it will only skip the download part
|
# Still need to properly install the dependencies - it will only skip the download part
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -134,12 +133,14 @@ jobs:
|
|||||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
run: |
|
run: |
|
||||||
python -m pip install pip==21.1.3
|
python -m pip install --upgrade pip
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
pip install pytest-cov
|
pip install pytest-cov
|
||||||
pip install pytest-github-actions-annotate-failures
|
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
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
make test-coverage
|
make test-coverage
|
||||||
@ -182,10 +183,11 @@ jobs:
|
|||||||
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}-4
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
run: |
|
run: |
|
||||||
python -m pip install pip==21.1.3
|
python -m pip install --upgrade pip
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
pip install "coverage<=4.5.4"
|
||||||
- name: Test ServerMode/Coverage
|
- name: Test ServerMode/Coverage
|
||||||
env:
|
env:
|
||||||
TEST_SERVER_MODE: ${{ true }}
|
TEST_SERVER_MODE: ${{ true }}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
black==19.10b0
|
black==19.10b0
|
||||||
regex==2019.11.1
|
regex==2019.11.1
|
||||||
coverage==4.5.4
|
|
||||||
flake8==3.7.8
|
flake8==3.7.8
|
||||||
boto>=2.45.0
|
boto>=2.45.0
|
||||||
click
|
click
|
||||||
|
Loading…
Reference in New Issue
Block a user