File tree Expand file tree Collapse file tree 1 file changed +16
-25
lines changed
Expand file tree Collapse file tree 1 file changed +16
-25
lines changed Original file line number Diff line number Diff line change @@ -21,33 +21,24 @@ on: [pull_request]
2121permissions : read-all
2222
2323jobs :
24- pytest :
25- name : Pytest Ubuntu python3.6
26- runs-on : ubuntu-16.04
24+ pytest-matrix :
25+ name : Run Pytest on Python ${{matrix.python-version}}
26+ strategy :
27+ matrix :
28+ python-version : ['3.9', '3.10', '3.11', '3.12']
29+ runs-on : ubuntu-22.04
2730 steps :
28- - uses : actions/checkout@v1
29- - uses : actions/setup-python@v1
30- with :
31- python-version : ' 3.6'
32- architecture : ' x64'
33- - name : Install requirements
34- run : |
35- pip install -r ./dev_tools/pip-list
36- - name : Pytest check
37- run : |
38- pytest
39- pytest37 :
40- name : Pytest Ubuntu python3.7
41- runs-on : ubuntu-16.04
42- steps :
43- - uses : actions/checkout@v1
44- - uses : actions/setup-python@v1
31+ - name : Get a local copy of the source repository
32+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
33+
34+ - name : Set up Python ${{matrix.python-version}}
35+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
4536 with :
46- python-version : ' 3.7 '
37+ python-version : ${{matrix.python-version}}
4738 architecture : ' x64'
39+
4840 - name : Install requirements
49- run : |
50- pip install -r ./dev_tools/pip-list
41+ run : pip install -r ./dev_tools/pip-list
42+
5143 - name : Pytest check
52- run : |
53- pytest
44+ run : pytest
You can’t perform that action at this time.
0 commit comments