File tree 3 files changed +5
-7
lines changed
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -36,23 +36,18 @@ jobs:
36
36
extra-requirements : ' -c requirements/testing/minver.txt'
37
37
pyqt5-ver : ' ==5.11.2 sip==5.0.0' # oldest versions with a Py3.8 wheel.
38
38
delete-font-cache : true
39
- XVFB_RUN : xvfb-run -a
40
39
- os : ubuntu-18.04
41
40
python-version : 3.8
42
41
extra-requirements : ' -r requirements/testing/extra.txt'
43
- XVFB_RUN : xvfb-run -a
44
42
CFLAGS : " -fno-lto" # Ensure that disabling LTO works.
45
43
- os : ubuntu-20.04
46
44
python-version : 3.9
47
45
extra-requirements : ' -r requirements/testing/extra.txt'
48
- XVFB_RUN : xvfb-run -a
49
46
- os : ubuntu-20.04
50
47
python-version : ' 3.10'
51
48
extra-requirements : ' -r requirements/testing/extra.txt'
52
- XVFB_RUN : xvfb-run -a
53
49
- os : macos-latest
54
50
python-version : 3.8
55
- XVFB_RUN : " "
56
51
57
52
steps :
58
53
- uses : actions/checkout@v3
@@ -257,7 +252,7 @@ jobs:
257
252
258
253
- name : Run pytest
259
254
run : |
260
- ${{ matrix.XVFB_RUN }} python -mpytest -raR -n auto \
255
+ python -mpytest -raR -n auto \
261
256
--maxfail=50 --timeout=300 --durations=25 \
262
257
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
263
258
Original file line number Diff line number Diff line change @@ -198,14 +198,16 @@ Optional:
198
198
- pytest-flake8 _ to test coding standards using flake8 _
199
199
- pytest-timeout _ to limit runtime in case of stuck tests
200
200
- pytest-xdist _ to run tests in parallel
201
+ - pytest-xvfb _ to run tests without windows popping up (Linux)
201
202
202
203
.. _pytest : http://doc.pytest.org/en/latest/
203
204
.. _Ghostscript : https://www.ghostscript.com/
204
205
.. _Inkscape : https://inkscape.org
205
206
.. _pytest-cov : https://pytest-cov.readthedocs.io/en/latest/
206
207
.. _pytest-flake8 : https://pypi.org/project/pytest-flake8/
207
- .. _pytest-xdist : https://pypi.org/project/pytest-xdist/
208
208
.. _pytest-timeout : https://pypi.org/project/pytest-timeout/
209
+ .. _pytest-xdist : https://pypi.org/project/pytest-xdist/
210
+ .. _pytest-xvfb : https://pypi.org/project/pytest-xvfb/
209
211
.. _flake8 : https://pypi.org/project/flake8/
210
212
211
213
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ pytest-cov
8
8
pytest-rerunfailures
9
9
pytest-timeout
10
10
pytest-xdist
11
+ pytest-xvfb
11
12
tornado
You can’t perform that action at this time.
0 commit comments