@@ -82,31 +82,43 @@ rapids-logger "pytest cugraph (not mg, with xdist)"
82
82
--cov-report=xml:" ${RAPIDS_COVERAGE_DIR} /cugraph-coverage.xml" \
83
83
--cov-report=term
84
84
85
- # Some tests fail with pytest-xdist enabled.
86
- # See https://github.com/rapidsai/cugraph/issues/5048
87
- rapids-logger " pytest cugraph (not mg, without xdist)"
85
+ # The datasets tests may modify global states and interfere with tests running on other workers
86
+ # these tests are typically only limited by network speed and run fairly quickly, so they can be
87
+ # run separately
88
+ rapids-logger " pytest cugraph (datasets APIs)"
88
89
./ci/run_cugraph_pytests.sh \
89
90
--verbose \
90
91
--junitxml=" ${RAPIDS_TESTS_DIR} /junit-cugraph.xml" \
91
- --numprocesses=1 \
92
- --dist=worksteal \
93
- -m " not mg" \
94
- -k " not test_dataset and (test_bulk_sampler or test_create_undirected_graph_from_asymmetric_adj_list or test_uniform_neighbor_sample or test_node2vec)" \
92
+ -k " test_dataset" \
95
93
--cov-config=../../.coveragerc \
96
94
--cov=cugraph \
97
95
--cov-report=xml:" ${RAPIDS_COVERAGE_DIR} /cugraph-coverage.xml" \
98
96
--cov-report=term
99
97
100
- rapids-logger " pytest cugraph (mg)"
98
+ # excludes known failures that will always fail when run in combination
99
+ rapids-logger " pytest cugraph (mg, with xdist)"
101
100
./ci/run_cugraph_pytests.sh \
102
101
--verbose \
103
102
--junitxml=" ${RAPIDS_TESTS_DIR} /junit-cugraph.xml" \
103
+ --numprocesses=8 \
104
+ --dist=worksteal \
104
105
-m " mg" \
106
+ -k " not test_dataset and not test_property_graph_mg and not test_dist_sampler_mg and not test_uniform_neighbor_sample_mg" \
105
107
--cov-config=../../.coveragerc \
106
108
--cov=cugraph \
107
109
--cov-report=xml:" ${RAPIDS_COVERAGE_DIR} /cugraph-coverage.xml" \
108
110
--cov-report=term
109
111
112
+ rapids-logger " pytest cugraph (mg dist_sampler and uns)"
113
+ ./ci/run_cugraph_pytests.sh \
114
+ --verbose \
115
+ --junitxml=" ${RAPIDS_TESTS_DIR} /junit-cugraph.xml" \
116
+ -m " mg" \
117
+ -k " test_dist_sampler_mg or test_uniform_neighbor_sample_mg" \
118
+ --cov-config=../../.coveragerc \
119
+ --cov=cugraph \
120
+ --cov-report=xml:" ${RAPIDS_COVERAGE_DIR} /cugraph-coverage.xml" \
121
+ --cov-report=term
110
122
111
123
rapids-logger " pytest cugraph benchmarks (run as tests)"
112
124
./ci/run_cugraph_benchmark_pytests.sh --verbose
0 commit comments