Skip to content

Commit

Permalink
Work around SSL error in 3.5 CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jun 27, 2024
1 parent e3ade90 commit 4c609ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
env:
DARCS_EMAIL: foo <[email protected]>
steps:
- if: ${{ matrix.python-version == '3.5' }}
run: |
echo "PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org" >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -90,8 +93,7 @@ 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 ${PIP_ARGS} poetry
pip install poetry
poetry install
poetry run pytest --verbose --cov --cov-report term-missing

0 comments on commit 4c609ca

Please sign in to comment.