Skip to content

Commit d5b47b8

Browse files
committed
Skip cert check on python 3.5
ref: actions/setup-python#866
1 parent dd4c434 commit d5b47b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ jobs:
5959

6060
steps:
6161
- uses: actions/checkout@v4
62+
63+
- name: Ignore certificate verification on python 3.5
64+
shell: bash
65+
run: |
66+
# INSECURE!! But it should be OK for CI tests.
67+
echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>$GITHUB_ENV
68+
if: 'matrix.python-version == 3.5'
69+
6270
- uses: actions/setup-python@v5
6371
with:
6472
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)