Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
d65e286f
Unverified
Commit
d65e286f
authored
Sep 23, 2022
by
Philip Meier
Committed by
GitHub
Sep 23, 2022
Browse files
add coverage to prototype tests CI (#6630)
* add coverage to prototype tests CI * line continuation
parent
a09da902
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
.github/workflows/prototype-tests.yml
.github/workflows/prototype-tests.yml
+19
-4
No files found.
.github/workflows/prototype-tests.yml
View file @
d65e286f
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment