Skip to content

Commit

Permalink
fix py2.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Oct 11, 2021
1 parent 6725720 commit d626220
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: pip install -U -r requirements-dev.txt
- name: Install
run: |
if [[ ${{ matrix.python }} == '2.7' ]]; then
pip install -U pytest-cov 'pytest-timeout<2'
else
pip install -U -r requirements-dev.txt
fi
- run: pytest
- uses: codecov/codecov-action@v1
deploy:
Expand Down

0 comments on commit d626220

Please sign in to comment.