Skip to content
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 temp git dir to test_cc_reviewers test case #10058

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

jacobbohlin
Copy link
Contributor

@jacobbohlin jacobbohlin commented Jan 25, 2022

This is a proposal to decouple the test_cc_reviewers test case from the user's git configuration. The implementation reuses the TempGit structure from test_skip_ci to always use a fresh git environment.

Fixes #10044 which contains some additional information.

@jacobbohlin
Copy link
Contributor Author

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

cc @driazati

Copy link
Member

@driazati driazati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This way of testing definitely makes more sense. Also just a note: if you add the text Fixes #10044 to your PR body GitHub will close the issue automatically once this is merged

@jacobbohlin
Copy link
Contributor Author

Thanks @driazati I was not aware of that.

Copy link
Contributor

@manupak manupak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too!

@manupak manupak merged commit e42b9a3 into apache:main Jan 27, 2022
@manupak
Copy link
Contributor

manupak commented Jan 27, 2022

Thanks @jacobbohlin @leandron @driazati . This is merged now!

@jacobbohlin jacobbohlin deleted the fix_test_cc_reviewers branch January 27, 2022 11:22
sunggg pushed a commit to sunggg/tvm that referenced this pull request Jan 29, 2022
This decouples the test_cc_reviewers test case from the user's git configuration. 
The implementation reuses the TempGit structure from test_skip_ci to always 
use a fresh git environment.
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
This decouples the test_cc_reviewers test case from the user's git configuration. 
The implementation reuses the TempGit structure from test_skip_ci to always 
use a fresh git environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI Problem] test_ci.py::test_cc_reviewers dependent on user git config
4 participants