-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around SSL error in 3.5 CI setup
- Loading branch information
1 parent
e3ade90
commit 4c609ca
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |