Skip to content

Commit 71f481a

Browse files
committed
Enable parallel tests only for staging
1 parent 03263cb commit 71f481a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test-staging: build
2121
-e LABELBOX_TEST_ENVIRON="staging" \
2222
-e DA_GCP_LABELBOX_API_KEY=${DA_GCP_LABELBOX_API_KEY} \
2323
-e LABELBOX_TEST_API_KEY_STAGING=${LABELBOX_TEST_API_KEY_STAGING} \
24-
local/labelbox-python:test pytest $(PATH_TO_TEST)
24+
local/labelbox-python:test pytest -n 10 $(PATH_TO_TEST)
2525

2626
test-prod: build
2727
docker run -it -v ${PWD}:/usr/src -w /usr/src \

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[pytest]
2-
addopts = -s -vv --reruns 5 --reruns-delay 10 --durations=20 -n 10
2+
addopts = -s -vv --reruns 5 --reruns-delay 10 --durations=20
33
markers =
44
slow: marks tests as slow (deselect with '-m "not slow"')

0 commit comments

Comments
 (0)