-
Notifications
You must be signed in to change notification settings - Fork 59
[CI] Enable test with skipped cases in skip list #2189
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
base: main
Are you sure you want to change the base?
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.
Please run ci UT tests to ensure changes don't impact current CI tests
test/xpu/run_test_with_skip.py
Outdated
parser = argparse.ArgumentParser(description="Run specific unit tests") | ||
# By default, run the cases without the skipped cases | ||
parser.add_argument( | ||
"-k", |
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.
Suggest to use another parameter to distinguish with pytest -k
cp *.xml ${{ github.workspace }}/ut_log | ||
echo -e "File Path: cd pytorch/third_party/torch-xpu-ops/test/xpu" | tee -a ${{ github.workspace }}/ut_log/reproduce_op_ut.log | ||
echo -e "Reproduce Command: pytest -sv failed_case" | tee -a ${{ github.workspace }}/ut_log/reproduce_op_ut.log | ||
- name: op_skipped |
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.
- name: op_skipped | |
- name: skipped_ut |
Too many useless log in result check https://github.com/intel/torch-xpu-ops/actions/runs/18588966992/job/53000675802#step:4:109 |
disable_all