Skip to content

Commit ca4728a

Browse files
authored
chore: GH actions to use a python version matrix (#1079)
1 parent d42f1f6 commit ca4728a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ jobs:
2020
build:
2121
needs: lint
2222
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
python: [3.7, 3.9]
26+
2327
steps:
2428
- uses: actions/checkout@v2
25-
- name: Set up Python 3.6
29+
- name: Set up Python 3.x
2630
uses: actions/setup-python@v2
2731
with:
28-
python-version: 3.6
32+
python-version: ${{ matrix.python }}
2933
- name: Install dependencies
3034
run: |
3135
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)