Skip to content

Commit c6c0600

Browse files
authored
Fix GitHub Actions (#239)
* Fix GitHub Actions * Fix copy & paste mistake
1 parent 6368696 commit c6c0600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
python -m pip install flake8 pylint coveralls
30+
if python --version 2>&1 | grep -q "Python 2"; then pip install mock rsa==4.0; fi
3031
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3132
pip install .
32-
if python --version 2>&1 | grep -q "Python 2"; then pip install mock; fi
3333
if python --version 2>&1 | grep -q "Python 3.7" || python --version 2>&1 | grep -q "Python 3.8" || python --version 2>&1 | grep -q "Python 3.9"; then pip install aiofiles; fi
3434
- name: Lint with pylint and flake8
3535
run: |

0 commit comments

Comments
 (0)