Skip to content

Commit 7ffd6d3

Browse files
committed
this is an update to the workflow to include multiple os
1 parent 8a7a3b8 commit 7ffd6d3

File tree

2 files changed

+7
-94
lines changed

2 files changed

+7
-94
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ on: push
77
jobs:
88

99
build:
10+
strategy:
11+
matrix:
12+
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
13+
python-version: ["3.10", "3.11"]
14+
1015

1116
# we can also specify the OS to run tests on
12-
runs-on: ubuntu-latest
17+
runs-on: ${{ matrix.os }}
1318

1419
# a job is a seq of steps
1520
steps:
@@ -22,7 +27,7 @@ jobs:
2227
- name: Set up Python 3.11
2328
uses: actions/setup-python@v5
2429
with:
25-
python-version: "3.11"
30+
python-version: ${{ matrix.python-version }}
2631

2732
- name: Install Python dependencies
2833
run: |

tests/test_models.py

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)