File tree Expand file tree Collapse file tree 1 file changed +5
-22
lines changed Expand file tree Collapse file tree 1 file changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -18,29 +18,11 @@ jobs:
18
18
- ' 3.7'
19
19
- ' 3.8'
20
20
- ' 3.9'
21
- pytest-version :
22
- - 4.6.11
23
- - 5.4.3
24
- - 6.2.4
25
-
26
- exclude :
27
- # pytest >= 5.x.x doesn't support Python 2.7
28
- - os : ubuntu-latest
29
- python-version : 2.7
30
- pytest-version : 5.4.3
31
- - os : ubuntu-latest
32
- python-version : 2.7
33
- pytest-version : 6.2.4
34
- - os : windows-latest
35
- python-version : 2.7
36
- pytest-version : 5.4.3
37
- - os : windows-latest
38
- python-version : 2.7
39
- pytest-version : 6.2.4
21
+ # TODO: test with specific major version of pytest
40
22
41
23
runs-on : ${{ matrix.os }}
42
24
43
- name : ${{ matrix.os }}, Python ${{ matrix.python-version }}, pytest ${{ matrix.pytest-version }}
25
+ name : ${{ matrix.os }}, Python ${{ matrix.python-version }}
44
26
steps :
45
27
- uses : actions/checkout@v2
46
28
@@ -53,12 +35,13 @@ jobs:
53
35
run : |
54
36
python -m pip install --upgrade pip
55
37
pip install -r requirements.txt
56
- pip install pytest==${{ matrix.pytest-version }}
38
+ pip install tox tox-gh-actions
57
39
58
40
- name : Install itself
59
41
run : python setup.py install
60
42
61
- - run : pytest
43
+ - name : Run test
44
+ run : tox
62
45
env :
63
46
PYTEST_PLUGINS : pytest_github_actions_annotate_failures
64
47
You can’t perform that action at this time.
0 commit comments