From e3ade903c34e7f52e98f4800dd04be28ec658fbc Mon Sep 17 00:00:00 2001 From: mtkennerly Date: Wed, 26 Jun 2024 23:38:55 -0400 Subject: [PATCH] Work around SSL error in 3.5 test setup --- .github/workflows/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index edc331e..1c1934a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -90,7 +90,8 @@ jobs: - if: ${{ matrix.python-version == '3.5' || matrix.python-version == '3.6' }} run: | cp poetry.legacy.lock poetry.lock + echo "PIP_ARGS=--trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org" >> $GITHUB_ENV - run: | - pip install poetry + pip install ${PIP_ARGS} poetry poetry install poetry run pytest --verbose --cov --cov-report term-missing