Skip to content

Commit a0cb1ca

Browse files
Bordahugovkdbieber
authored
Expand build matrix to include mac (#490)
* Expand build matrix to include mac (#490) --------- Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: David Bieber <[email protected]>
1 parent efcf60f commit a0cb1ca

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@ name: Python Fire
22

33
on:
44
push:
5-
branches:
6-
- master
5+
branches: ["master"]
76
pull_request:
8-
branches:
9-
- master
7+
branches: ["master"]
8+
9+
defaults:
10+
run:
11+
shell: bash
1012

1113
jobs:
1214
build:
13-
runs-on: ubuntu-20.04
15+
runs-on: ${{ matrix.os }}
1416
strategy:
1517
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
18+
os: ["macos-latest", "ubuntu-latest"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
20+
include:
21+
- {os: "ubuntu-20.04", python-version: "3.7"}
1722

1823
steps:
1924
# Checkout the repo.
@@ -28,7 +33,6 @@ jobs:
2833

2934
# Build Python Fire using the build.sh script.
3035
- name: Run build script
31-
shell: bash
3236
run: ./.github/scripts/build.sh
3337
env:
3438
PYTHON_VERSION: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)