File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ jobs:
28
28
uses : actions/checkout@v3
29
29
30
30
- 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/
32
32
33
33
- name : Install torchvision
34
34
run : pip install --progress-bar=off --no-build-isolation --editable .
35
35
36
36
- 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
38
38
39
39
- name : Install test requirements
40
40
run : pip install --progress-bar=off pytest pytest-mock pytest-cov
52
52
--cov-report=term-missing \
53
53
test/test_prototype_features*.py
54
54
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
+
55
65
- name : Run prototype transforms tests
56
66
if : success() || ( failure() && steps.setup.conclusion == 'success' )
57
67
shell : bash
You can’t perform that action at this time.
0 commit comments