Skip to content

Commit 67c8caa

Browse files
committed
fix test selection
1 parent f65c424 commit 67c8caa

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/gpu-tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,10 @@ jobs:
8686
run: |
8787
# Run tests that are known to work with CuPy
8888
# Skip processes executor which doesn't work with CuPy
89-
pytest -v \
90-
cubed/tests/test_array_api.py::test_arange \
91-
cubed/tests/test_array_api.py::test_asarray \
92-
cubed/tests/test_array_api.py::test_ones \
93-
cubed/tests/test_array_api.py::test_zeros \
94-
cubed/tests/test_array_api.py::test_full \
95-
-k "not processes" \
89+
# Use -k to select specific tests by pattern
90+
pytest -v cubed/tests/test_array_api.py \
91+
-k "test_arange or test_ones or test_asarray" \
92+
--ignore-glob="*processes*" \
9693
--maxfail=5 2>&1 | tee pytest_results.txt || echo "Note: Some tests failed (investigating GPU/zarr compatibility)"
9794
9895
- name: Document known issues

0 commit comments

Comments
 (0)