Skip to content

Commit 579a78d

Browse files
committed
WIP: Test impact of plugin installation
This aims to create a tox environment that tests that installation of popular plugins does not break pytest.
1 parent 1df2471 commit 579a78d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ jobs:
111111
tox_env: "py38-xdist"
112112
use_coverage: true
113113

114+
- name: "ubuntu-py37"
115+
python: "3.7"
116+
os: ubuntu-latest
117+
tox_env: "py37-plugins"
118+
use_coverage: true
119+
114120
- name: "docs"
115121
python: "3.7"
116122
os: ubuntu-latest

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ envlist =
1111
py38
1212
py39
1313
pypy3
14-
py37-{pexpect,xdist,unittestextras,numpy,pluggymaster}
14+
py37-{pexpect,xdist,unittestextras,numpy,pluggymaster,plugins}
1515
doctesting
1616
py37-freeze
1717
docs
@@ -53,6 +53,8 @@ deps =
5353
unittestextras: twisted
5454
unittestextras: asynctest
5555
xdist: pytest-xdist>=1.13
56+
plugins: pytest-cov
57+
plugins: pytest-xdist
5658
{env:_PYTEST_TOX_EXTRA_DEP:}
5759

5860
[testenv:linting]

0 commit comments

Comments
 (0)