Skip to content

Commit

Permalink
Fix macOS version, update to python setup v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ebellocchia committed Apr 24, 2024
1 parent 9eb84b2 commit 5a392b4
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,35 @@ on:
branches: [ "master" ]

jobs:
build:
build_older_than_py310:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
os:
- ubuntu-latest
- macOS-13
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install package
run: |
pip install .
build_newer_than_py311:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
os:
- ubuntu-latest
- macOS-latest
Expand All @@ -22,7 +46,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit 5a392b4

Please sign in to comment.