-
Notifications
You must be signed in to change notification settings - Fork 7.1k
add CI job for prototype tests #4664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI job is operational: https://app.circleci.com/pipelines/github/pytorch/vision/11516/workflows/d46b293b-a579-4d84-ac55-062bd4a815ab/jobs/894445 I'll fix the warnings in a follow-up PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, LGTM! We can merge after green CI.
--ignore=test/test_datasets_download.py | ||
--ignore-glob=test/test_prototype_*.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless we invoke pytest
specifically with test/test_prototype_*.py
, the prototype tests will now be ignored for the normal unittests.
I've applied the same treatment to the dataset download tests. With this, invoking pytest
locally is now exactly the same as in CI minus the coverage. LMK if I should split this in a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Personally I'm happy to keep it here.
Hey @datumbox! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pmeier !
Summary: * add CI job for prototype tests * register prototype job * fix torchvision installation * fix test invocation * ignore prototype tests in normal unittests Reviewed By: datumbox Differential Revision: D31898205 fbshipit-source-id: 3fcde83a5f6dceaa21d2572fb21d78348a842b9b Co-authored-by: Vasilis Vryniotis <[email protected]>
* add CI job for prototype tests * register prototype job * fix torchvision installation * fix test invocation * ignore prototype tests in normal unittests Co-authored-by: Vasilis Vryniotis <[email protected]>
Closes #4589.
cc @pmeier @seemethere @bjuncek