Skip to content

Commit

Permalink
CI: Fix issue pip installing with Py3.5 & avoid using mac arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Jun 25, 2024
1 parent 458c2a2 commit c839903
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-latest, macos-11, macos-latest, windows-2019, windows-latest]
# macos-13 is x86 and macos-14 is arm64
os: [ubuntu-20.04, ubuntu-latest, macos-11, macos-13, windows-2019, windows-latest]
python-version: ['3.5', '3.6', '3.7', '3.8']
exclude:
# Python 3.5 and 3.6 not available in the latest Ubuntu runners
Expand All @@ -28,6 +29,10 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
env:
# Workaround to issue using Python 3.5
# https://github.com/actions/setup-python/issues/866
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
- name: Display Python info
run: |
python -c "import sys; print(sys.version)"
Expand Down

0 comments on commit c839903

Please sign in to comment.