-
Notifications
You must be signed in to change notification settings - Fork 435
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
Add pylint github action file. #2332
Conversation
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
- name: Run unit tests | ||
run: pytest tests/ | ||
|
||
- name: Generate coverage report | ||
if: ${{ matrix.report_coverage == 'True' }} | ||
run: coverage report |
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.
These two steps can be combined. See https://github.com/onnx/onnx/blob/main/.github/workflows/main.yml
--cov-report=xml --cov-append --cov-branch --junit-xml pytest.xml
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.
You would need https://pypi.org/project/pytest-cov/
- name: Generate coverage report | ||
if: ${{ matrix.report_coverage == 'True' }} | ||
run: coverage report | ||
|
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.
Consider uploading the coverage report to codecov: https://github.com/onnx/onnx/blob/093a8d335a66ea136eb1f16b3a1ce6237ee353ab/.github/workflows/main.yml#L144-L148
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Signed-off-by: Jay Zhang <[email protected]>
Move all CI on Azure DevOps to GITHUB actions.