Skip to content

Commit 56b4f57

Browse files
committedMay 28, 2023
test python 3.11, move py36 test to win2019
1 parent 5cc2688 commit 56b4f57

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed
 

‎.github/workflows/pythonpackage.yml

+24-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,33 @@ name: Python package
33
on: [push]
44

55
jobs:
6+
test-py36:
7+
runs-on: windows-2019
8+
strategy:
9+
max-parallel: 1
10+
matrix:
11+
python-version: ["3.6"]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
python setup.py install
23+
- name: Test with pytest
24+
run: |
25+
pip install pytest
26+
pytest
627
test-linux:
728
runs-on: ubuntu-latest
829
strategy:
930
max-parallel: 3
1031
matrix:
11-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
32+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1233

1334
steps:
1435
- uses: actions/checkout@v1
@@ -30,7 +51,7 @@ jobs:
3051
strategy:
3152
max-parallel: 3
3253
matrix:
33-
python-version: ["3.7", "3.8", "3.9", "3.10"]
54+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
3455

3556
steps:
3657
- uses: actions/checkout@v1
@@ -52,7 +73,7 @@ jobs:
5273
strategy:
5374
max-parallel: 3
5475
matrix:
55-
python-version: ["3.7", "3.8", "3.9", "3.10"]
76+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
5677

5778
steps:
5879
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)
Failed to load comments.