Skip to content

Commit 7396081

Browse files
committed
ci: add "integrations-tests-fast" tox command
1 parent 2fbf1d6 commit 7396081

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

test-requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
mock
22
pytest
33
pytest-cov
4-
pytest-mock
4+
pytest-mock
5+
pytest-xdist

tox.ini

+6-1
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,17 @@ deps =
8383
-rrequirements.txt
8484
-rtest-requirements.txt
8585

86+
[testenv:integration-tests-fast]
87+
commands = {envpython} -m pytest -n auto --log-cli-level=INFO -svv {posargs:tests/integration_tests}
88+
deps =
89+
-rrequirements.txt
90+
-rtest-requirements.txt
91+
8692
[testenv:integration-tests-ci]
8793
commands = {envpython} -m pytest -m ci --log-cli-level=INFO -svv {posargs:tests/integration_tests}
8894
deps =
8995
-rrequirements.txt
9096
-rtest-requirements.txt
91-
pytest-xdist
9297

9398
[testenv:integration-tests-main-check]
9499
# Since we can't use GH secrets from a forked PR, run the cloud-based

0 commit comments

Comments
 (0)