File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 13
13
- name : Set up Python
14
14
uses : actions/setup-python@v2
15
15
with :
16
- python-version : " 3.7 "
16
+ python-version : " 3.9 "
17
17
- name : Install deps
18
18
uses : knowsuchagency/poetry-install@v1
19
19
env :
Original file line number Diff line number Diff line change @@ -46,15 +46,23 @@ jobs:
46
46
- name : Run mypy check
47
47
run : poetry run mypy .
48
48
pytest :
49
- runs-on : ubuntu-latest
49
+ strategy :
50
+ matrix :
51
+ py_version : ["3.7", "3.8", "3.9", "3.10"]
52
+ os : [ubuntu-latest, windows-latest]
53
+ runs-on : " ${{ matrix.os }}"
50
54
steps :
51
55
- uses : actions/checkout@v2
52
56
- name : Set up Python
53
57
uses : actions/setup-python@v2
54
58
with :
55
- python-version : " 3.9"
59
+ python-version : " ${{ matrix.py_version }}"
60
+ - name : Update pip
61
+ run : python -m pip install -U pip
62
+ - name : Install poetry
63
+ run : python -m pip install poetry
56
64
- name : Install deps
57
- uses : knowsuchagency/ poetry- install@v1
65
+ run : poetry install
58
66
env :
59
67
POETRY_VIRTUALENVS_CREATE : false
60
68
- name : Run pytest check
You can’t perform that action at this time.
0 commit comments