added trusted host

This commit is contained in:
Caleb Herpin 2021-07-27 11:13:44 -05:00
parent 5438b1aa7d
commit 5981749550

View File

@ -127,7 +127,6 @@ jobs:
#-------- Job definition ----------------
runs-on: ubuntu-18.04
container: docker://${{matrix.cfg.os}}:${{matrix.cfg.tag}}
options: --user 1001
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
@ -135,11 +134,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Python packages
run: |
python -m pip install --upgrade pip
python -m pip install websockets
python -m pip install requests
python -m pip install pytest
python -m pip install pytest-asyncio
python -m pip install --upgrade pip --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
python -m pip install websockets --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
python -m pip install requests --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
python -m pip install pytest --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
python -m pip install pytest-asyncio --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
- name: Update Package Manager
run: ${{matrix.conf_pkg}}
- name: Install Dependencies