-
Notifications
You must be signed in to change notification settings - Fork 43
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
Fix the rootdir in the nouse_install.yml #273
Changes from all commits
2436d65
2e486b0
dde4b47
f6b253f
14f85e7
afdcc3b
1105d2e
53302a2
27d4384
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,11 @@ jobs: | |
python3 -c 'import os; print(os.getcwd())' | ||
python3 -c "import modmesh; print(modmesh.__file__)" | ||
python3 -c "import _modmesh; print(_modmesh.__file__)" | ||
pytest --rootdir=/tmp -v | ||
# The following command is the original commend, and it will fail on pytest == 8.0.0 . | ||
# pytest --rootdir=/tmp -v | ||
# Here is the issue and temporary solution: https://github.com/pytest-dev/pytest/issues/11781 | ||
# The alternative command to solve the issue is ```pytest --rootdir=. -v```. | ||
pytest --rootdir=. -v | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please keep the original code in a comment and add a link to the root cause. When the bug in pytest is fixed we can change it back. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your suggestions. |
||
cd .. | ||
|
||
nouse_install_macos: | ||
|
@@ -166,5 +170,9 @@ jobs: | |
python3 -c 'import os; print(os.getcwd())' | ||
python3 -c "import modmesh; print(modmesh.__file__)" | ||
python3 -c "import _modmesh; print(_modmesh.__file__)" | ||
pytest --rootdir=/tmp -v | ||
# The following command is the original commend, and it will fail on pytest == 8.0.0 . | ||
# pytest --rootdir=/tmp -v | ||
# Here is the issue and temporary solution: https://github.com/pytest-dev/pytest/issues/11781 | ||
# The alternative command to solve the issue is ```pytest --rootdir=. -v``` . | ||
Comment on lines
+173
to
+176
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I modify the number of |
||
pytest --rootdir=. -v | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change both places. |
||
cd .. |
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.
I modify the number of
#
to keep the consistent coding style.