Skip to content

Commit bb3b102

Browse files
committed
missed the test matrix.
1 parent e34267e commit bb3b102

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/python-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,24 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: ubuntu-latest
15+
runs-on: ${{ matrix.os}}
1616
strategy:
1717
fail-fast: false
1818
matrix:
19+
os: [ubuntu-latest, macos-latest, windows-latest]
1920
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
2021

2122
steps:
22-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
2324
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v3
2526
with:
2627
python-version: ${{ matrix.python-version }}
2728
- name: Install dependencies
2829
run: |
2930
python -m pip install --upgrade pip
3031
python -m pip install flake8 pytest
31-
pip install -r requirements.txt
32+
python -m pip install -r requirements.txt
3233
- name: Lint with flake8
3334
run: |
3435
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)