Skip to content

Commit 19df06a

Browse files
author
Adrian Chang
committed
paths
1 parent d6d66d2 commit 19df06a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/python-package-shared.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
LABELBOX_TEST_ENVIRON: ${{ inputs.test-env }}
6262
working-directory: libs/labelbox
6363
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
6565
unit-data:
6666
runs-on: ubuntu-latest
6767
steps:
@@ -88,13 +88,12 @@ jobs:
8888
LABELBOX_TEST_ENVIRON: ${{ inputs.test-env }}
8989
working-directory: libs/labelbox
9090
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
9392
- name: Data Slow
9493
env:
9594
LABELBOX_TEST_API_KEY: ${{ secrets[inputs.api-key] }}
9695
DA_GCP_LABELBOX_API_KEY: ${{ secrets[inputs.da-test-key] }}
9796
LABELBOX_TEST_ENVIRON: ${{ inputs.test-env }}
9897
working-directory: libs/labelbox
9998
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ members = ["libs/*", "examples"]
3434

3535
[tool.pytest.ini_options]
3636
# 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"
3838
markers = """
3939
slow: marks tests as slow (deselect with '-m "not slow"')
4040
"""

0 commit comments

Comments
 (0)