53
53
LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
54
54
working-directory : libs/labelbox
55
55
run : |
56
- rye run pytest --ignore=tests/integration/test_data_rows.py --timeout=60 --rerun-except Timeout tests/integration
56
+ rye run pytest --ignore=tests/integration/test_data_rows.py --timeout=120 --rerun-except Timeout tests/integration
57
+ - name : Integration Testing Slow
58
+ env :
59
+ LABELBOX_TEST_API_KEY : ${{ secrets[inputs.api-key] }}
60
+ DA_GCP_LABELBOX_API_KEY : ${{ secrets[inputs.da-test-key] }}
61
+ LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
62
+ working-directory : libs/labelbox
63
+ run : |
57
64
rye run pytest -p no:xdist --timeout=300 --rerun-except Timeout tests/integration/test_data_rows.py
58
65
unit-data :
59
66
runs-on : ubuntu-latest
65
72
with :
66
73
rye-version : ${{ vars.RYE_VERSION }}
67
74
python-version : ${{ inputs.python-version }}
68
- - name : Unit && Data Testing
75
+ - name : Unit
69
76
env :
70
77
LABELBOX_TEST_API_KEY : ${{ secrets[inputs.api-key] }}
71
78
DA_GCP_LABELBOX_API_KEY : ${{ secrets[inputs.da-test-key] }}
74
81
run : |
75
82
rye sync -f --features labelbox/data
76
83
rye run unit
77
- rye run pytest --ignore=tests/data/annotation_import --timeout=60 --rerun-except Timeout tests/data
84
+ - name : Data
85
+ env :
86
+ LABELBOX_TEST_API_KEY : ${{ secrets[inputs.api-key] }}
87
+ DA_GCP_LABELBOX_API_KEY : ${{ secrets[inputs.da-test-key] }}
88
+ LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
89
+ working-directory : libs/labelbox
90
+ run : |
91
+ rye run pytest --ignore=tests/data/annotation_import --timeout=120 --rerun-except Timeout tests/data
92
+ rye run pytest -p no:xdist --timeout=300 --rerun-except Timeout tests/data/annotation_import
93
+ - name : Data Slow
94
+ env :
95
+ LABELBOX_TEST_API_KEY : ${{ secrets[inputs.api-key] }}
96
+ DA_GCP_LABELBOX_API_KEY : ${{ secrets[inputs.da-test-key] }}
97
+ LABELBOX_TEST_ENVIRON : ${{ inputs.test-env }}
98
+ working-directory : libs/labelbox
99
+ run : |
78
100
rye run pytest -p no:xdist --timeout=300 --rerun-except Timeout tests/data/annotation_import
0 commit comments