Skip to content

Commit c2129da

Browse files
committed
Tests GH Actions matrix (OS versions)
1 parent c212c30 commit c2129da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
python-version: ["3.10", "3.x"]
13+
os-version: ["openstudio==3.6.1", "openstudio==3.10.0"]
1314

1415
steps:
1516
- name: Check out repository
@@ -19,7 +20,7 @@ jobs:
1920
with:
2021
python-version: ${{ matrix.python-version }}
2122
- name: Install dependencies
22-
run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
23+
run: python -m pip install --upgrade pip setuptools wheel ${{ matrix.os-version }} oslg
2324
- name: Run unit tests
2425
run: python -m unittest
2526

@@ -28,6 +29,7 @@ jobs:
2829
strategy:
2930
matrix:
3031
python-version: ["3.10", "3.x"]
32+
os-version: ["openstudio==3.6.1", "openstudio==3.10.0"]
3133

3234
steps:
3335
- name: Check out repository
@@ -37,6 +39,6 @@ jobs:
3739
with:
3840
python-version: ${{ matrix.python-version }}
3941
- name: Install dependencies
40-
run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
42+
run: python -m pip install --upgrade pip setuptools wheel ${{ matrix.os-version }} oslg
4143
- name: Run unit tests
4244
run: python -m unittest

0 commit comments

Comments
 (0)