From fdd8cd562548b32f62c3a6b62b04ad66a68b53a1 Mon Sep 17 00:00:00 2001 From: Vladyslav Tymofeiev <“vladyslavty@softwareplanetgroup.com”> Date: Tue, 13 Aug 2024 11:40:11 +0300 Subject: [PATCH] Add trusted host workaround for tests workflow --- .github/workflows/playbook-test.yml | 2 ++ .github/workflows/syntax-test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/playbook-test.yml b/.github/workflows/playbook-test.yml index aa71681689f..472c4928092 100644 --- a/.github/workflows/playbook-test.yml +++ b/.github/workflows/playbook-test.yml @@ -27,6 +27,8 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org" - name: Install Dependencies run: | pip install demjson diff --git a/.github/workflows/syntax-test.yml b/.github/workflows/syntax-test.yml index f17d1d2fd1b..f429ca50e1f 100644 --- a/.github/workflows/syntax-test.yml +++ b/.github/workflows/syntax-test.yml @@ -27,6 +27,8 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org" - name: Install Dependencies run: | pip install demjson