Skip to content

Commit

Permalink
CI fix attempt (#64)
Browse files Browse the repository at this point in the history
* CI fix

* test

* test

* test

* test

* exclude
  • Loading branch information
laliconfigcat authored Jul 9, 2024
1 parent 29555eb commit 82aac93
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ jobs:
strategy:
matrix:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ windows-latest, macos-latest, ubuntu-20.04 ]
os: [ windows-latest, macos-13, ubuntu-20.04 ]
exclude:
- os: windows-latest
python-version: "2.7"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
if: matrix.python-version != '2.7'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
env:
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"

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

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down

0 comments on commit 82aac93

Please sign in to comment.