You need to sign in or sign up before continuing.
Unverified Commit d65e286f authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

add coverage to prototype tests CI (#6630)

* add coverage to prototype tests CI

* line continuation
parent a09da902
...@@ -37,16 +37,31 @@ jobs: ...@@ -37,16 +37,31 @@ jobs:
run: pip install --progress-bar=off scipy pycocotools h5py iopath run: pip install --progress-bar=off scipy pycocotools h5py iopath
- name: Install test requirements - name: Install test requirements
run: pip install --progress-bar=off pytest pytest-mock run: pip install --progress-bar=off pytest pytest-mock pytest-cov
- name: Run prototype datasets tests - name: Run prototype datasets tests
shell: bash shell: bash
run: pytest --durations=20 test/test_prototype_datasets*.py run: |
pytest \
--durations=20 \
--cov=torchvision/prototype/datasets \
--cov-report=term-missing \
test/test_prototype_datasets*.py
- name: Run prototype transforms tests - name: Run prototype transforms tests
shell: bash shell: bash
run: pytest --durations=20 test/test_prototype_transforms*.py run: |
pytest \
--durations=20 \
--cov=torchvision/prototype/transforms \
--cov-report=term-missing \
test/test_prototype_transforms*.py
- name: Run prototype models tests - name: Run prototype models tests
shell: bash shell: bash
run: pytest --durations=20 test/test_prototype_models*.py run: |
pytest \
--durations=20 \
--cov=torchvision/prototype/models \
--cov-report=term-missing \
test/test_prototype_models*.py
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment