Skip to content

Commit 3e57336

Browse files
authored
Merge pull request #251 from terriko/python_matrix
Set up build matrix for python 3.6, 3.7
2 parents ea9dc10 + 5385694 commit 3e57336

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/pythonapp.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ on: [push, pull_request]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
9-
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest]
12+
python: [3.6, 3.7]
1013
steps:
1114
- uses: actions/checkout@v1
12-
- name: Set up Python 3.7
15+
- name: Set up Python
1316
uses: actions/setup-python@v1
1417
with:
15-
python-version: 3.7
18+
python-version: ${{ matrix.python }}
1619
- name: Install dependencies
1720
run: |
1821
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)