Skip to content

Commit 82aac93

Browse files
CI fix attempt (#64)
* CI fix * test * test * test * test * exclude
1 parent 29555eb commit 82aac93

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/python-ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,21 @@ jobs:
1818
strategy:
1919
matrix:
2020
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
21-
os: [ windows-latest, macos-latest, ubuntu-20.04 ]
21+
os: [ windows-latest, macos-13, ubuntu-20.04 ]
22+
exclude:
23+
- os: windows-latest
24+
python-version: "2.7"
2225

2326
steps:
24-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
28+
2529
- name: Set up Python ${{ matrix.python-version }}
2630
if: matrix.python-version != '2.7'
27-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
2832
with:
2933
python-version: ${{ matrix.python-version }}
34+
env:
35+
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
3036

3137
- name: Set up Python 2.7
3238
if: matrix.python-version == '2.7'
@@ -57,10 +63,10 @@ jobs:
5763
if: startsWith(github.ref, 'refs/tags')
5864

5965
steps:
60-
- uses: actions/checkout@v3
66+
- uses: actions/checkout@v4
6167

6268
- name: Set up Python
63-
uses: actions/setup-python@v4
69+
uses: actions/setup-python@v5
6470
with:
6571
python-version: '3.x'
6672

0 commit comments

Comments
 (0)