we should not install pytest-asyncio plugin on Python 2.7
@@ -22,8 +22,12 @@ jobs:
run: |
sudo apt-get -y install sshpass
python -m pip install --upgrade pip setuptools wheel
- pip install -U pycodestyle coveralls pytest pytest-mccabe pytest-random mock pytest-asyncio
+ pip install -U pycodestyle coveralls pytest pytest-mccabe pytest-random mock
pip install -Ur requirements.txt
+ - name: Install Python 3 dependencies
+ if: ${{ matrix.python-version != '2.7' }}
+ run: |
+ pip install -U pytest-asyncio
- name: Create local users required by integration tests
run: |
cat /etc/passwd | grep home
