Skip to content

Commit

Permalink
Can't use old version of PyTest - install coverage separately
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers committed Aug 18, 2021
1 parent d1d4623 commit 37abb53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ jobs:
- name: Install project dependencies
run: |
pip install -r requirements-dev.txt
# https://github.com/aws/aws-xray-sdk-python/issues/196
pip install "coverage<=4.5.4"
pip install pytest-cov
pip install pytest-github-actions-annotate-failures
- name: Test with pytest
Expand Down Expand Up @@ -185,6 +187,7 @@ jobs:
- 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
5 changes: 1 addition & 4 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
pytest
# Last dependency that has coverage<5
# We need coverage<5 because of https://github.com/aws/aws-xray-sdk-python/issues/196
# We can't pin coverage==4.5.4 as done before, because of https://github.com/pypa/pip/issues/10201
pytest-cov<2.0.0
pytest-cov
sure==1.4.11
freezegun

0 comments on commit 37abb53

Please sign in to comment.