Skip to content

Commit

Permalink
Skip cert check on python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxySnail committed Sep 5, 2024
1 parent 7772da4 commit 8cff3ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Ignore certificate verification on python 3.5
shell: bash
run: |
# INSECURE!! But it should be OK for CI tests.
echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>$GITHUB_ENV
if: 'matrix.python-version == 3.5'

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit 8cff3ce

Please sign in to comment.