Skip to content

Commit 215fb18

Browse files
committed
[REVERT ME] reinstate prototype datasets CI
1 parent 57ae51f commit 215fb18

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/prototype-tests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
uses: actions/checkout@v3
2929

3030
- name: Install PyTorch nightly builds
31-
run: pip install --progress-bar=off --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu/
31+
run: pip install --progress-bar=off --pre torch torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu/
3232

3333
- name: Install torchvision
3434
run: pip install --progress-bar=off --no-build-isolation --editable .
3535

3636
- name: Install other prototype dependencies
37-
run: pip install --progress-bar=off scipy pycocotools h5py
37+
run: pip install --progress-bar=off scipy pycocotools h5py iopath
3838

3939
- name: Install test requirements
4040
run: pip install --progress-bar=off pytest pytest-mock pytest-cov
@@ -52,6 +52,16 @@ jobs:
5252
--cov-report=term-missing \
5353
test/test_prototype_features*.py
5454
55+
- name: Run prototype datasets tests
56+
if: success() || ( failure() && steps.setup.conclusion == 'success' )
57+
shell: bash
58+
run: |
59+
pytest \
60+
--durations=20 \
61+
--cov=torchvision/prototype/datasets \
62+
--cov-report=term-missing \
63+
test/test_prototype_datasets*.py
64+
5565
- name: Run prototype transforms tests
5666
if: success() || ( failure() && steps.setup.conclusion == 'success' )
5767
shell: bash

0 commit comments

Comments
 (0)