Skip to content

Commit

Permalink
ci: simplify pipeline steps for Python setup (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-murthy authored Jun 8, 2024
1 parent 4cfb878 commit 8963ab6
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,22 @@ jobs:
install-via: [pip]
arch: [x64]
include:
- python-version: "3.11"
os: ubuntu-latest
install-via: script
arch: x64
- python-version: "3.10"
os: windows-latest
install-via: pip
arch: x86
- python-version: "3.11"
os: windows-latest
install-via: pip
arch: x86
- python-version: "3.12"
os: windows-latest
install-via: pip
arch: x86

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
if: matrix.python-version != '3.10'
with:
python-version: "3.10"
architecture: ${{ matrix.arch }}

- name: Set up Python 3.11
uses: actions/setup-python@v5
if: matrix.python-version != '3.11'
with:
python-version: "3.11"
architecture: ${{ matrix.arch }}

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

0 comments on commit 8963ab6

Please sign in to comment.