We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e678c0 commit fdf5552Copy full SHA for fdf5552
2 files changed
.github/workflows/ci.yaml
@@ -41,7 +41,11 @@ jobs:
41
uses: astral-sh/setup-uv@v6
42
with:
43
python-version: ${{ matrix.python-version }}
44
- - name: Run tests
+
45
+ - name: Run tests without cloudpathlib
46
+ run: |
47
+ uv run pytest tests
48
+ - name: Run tests with cloudpathlib
49
run: |
50
uv run --all-extras pytest \
51
--junitxml=pytest.xml \
tests/test_indexing.py
@@ -52,6 +52,9 @@ def test_find_bids_datasets():
52
assert datasets_no_derivatives == expected_datasets_no_derivatives
53
54
55
+@pytest.mark.skipif(
56
+ not cloudpathlib_is_available(), reason="cloudpathlib not installed"
57
+)
58
def test_find_bids_datasets_s3():
59
root = "s3://openneuro.org"
60
datasets = list(islice(indexing.find_bids_datasets(root, maxdepth=2), 10))
0 commit comments