File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 61
61
LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
62
62
working-directory : libs/labelbox
63
63
run : |
64
- rye run pytest -p no:xdist - -timeout=300 --rerun-except Timeout tests/integration/test_data_rows.py tests/integration/test_data_rows_upsert.py tests/integration/test_data_row_delete_metadata.py tests/integration/test_batch.py
64
+ rye run pytest --timeout=300 --rerun-except Timeout tests/integration/test_data_rows.py tests/integration/test_data_rows_upsert.py tests/integration/test_data_row_delete_metadata.py tests/integration/test_batch.py
65
65
unit-data :
66
66
runs-on : ubuntu-latest
67
67
steps :
@@ -88,13 +88,12 @@ jobs:
88
88
LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
89
89
working-directory : libs/labelbox
90
90
run : |
91
- rye run pytest --ignore=tests/data/annotation_import --ignore-glob='tests/data/**/*export*.py' --timeout=120 --rerun-except Timeout tests/data
92
- rye run pytest --timeout=300 --rerun-except Timeout --dist no tests/data/annotation_import
91
+ rye run pytest --ignore=tests/data/annotation_import --ignore=tests/data/test_data_row_metadata.py --ignore-glob='tests/data/**/*export*.py' --timeout=120 --rerun-except Timeout tests/data
93
92
- name : Data Slow
94
93
env :
95
94
LABELBOX_TEST_API_KEY : ${{ secrets[inputs.api-key] }}
96
95
DA_GCP_LABELBOX_API_KEY : ${{ secrets[inputs.da-test-key] }}
97
96
LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
98
97
working-directory : libs/labelbox
99
98
run : |
100
- rye run pytest --timeout=300 --rerun-except Timeout --dist no tests/data/annotation_import tests/data/**/*export*.py
99
+ rye run pytest --timeout=300 --rerun-except Timeout tests/data/annotation_import tests/data/**/*export*.py tests/data/test_data_row_metadata .py
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ members = ["libs/*", "examples"]
34
34
35
35
[tool .pytest .ini_options ]
36
36
# https://github.com/pytest-dev/pytest-rerunfailures/issues/99
37
- addopts = " -rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n auto --cov=labelbox --import-mode=importlib"
37
+ addopts = " -rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n logical --cov=labelbox --import-mode=importlib"
38
38
markers = """
39
39
slow: marks tests as slow (deselect with '-m "not slow"')
40
40
"""
You can’t perform that action at this time.
0 commit comments