Skip to content

Commit 35170f3

Browse files
committed
Add run with no pytest-bdd
1 parent 67b8e57 commit 35170f3

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

requirements-dev-bdd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest-bdd>=7.2.0

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
delayed-assert
22
pytest-cov
33
pytest-parallel
4-
pytest-bdd>=7.2.0

tox.ini

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
isolated_build = True
33
envlist =
44
pep
5+
nobdd
56
py38
67
py39
78
py310
@@ -13,12 +14,23 @@ envlist =
1314
deps =
1415
-rrequirements.txt
1516
-rrequirements-dev.txt
17+
-rrequirements-dev-bdd.txt
1618

1719
setenv =
1820
AGENT_NO_ANALYTICS = 1
1921

2022
commands = pytest --cov={envsitepackagesdir}/pytest_reportportal --cov-report=xml tests/ -s -vv
2123

24+
[testenv:nobdd]
25+
deps =
26+
-rrequirements.txt
27+
-rrequirements-dev.txt
28+
29+
setenv =
30+
AGENT_NO_ANALYTICS = 1
31+
32+
commands = pytest --cov={envsitepackagesdir}/pytest_reportportal --cov-report=xml tests/ -s -vv --ignore tests/integration/test_bdd.py
33+
2234
[testenv:pep]
2335
skip_install = True
2436
deps = pre-commit>=1.19.0
@@ -28,7 +40,7 @@ commands = pre-commit run --all-files --show-diff-on-failure
2840
python =
2941
3.8: py38
3042
3.9: py39
31-
3.10: pep, py310
43+
3.10: pep, nobdd, py310
3244
3.11: py311
3345
3.12: py312
3446
3.13: py313

0 commit comments

Comments
 (0)