-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
ci: Fix failing CI #1452
ci: Fix failing CI #1452
Conversation
@@ -150,7 +150,7 @@ jobs: | |||
matrix: ${{ fromJson(needs.setup.outputs.matrix) }} | |||
defaults: | |||
run: | |||
shell: bash -l {0} | |||
shell: bash -e {0} |
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.
There is no need to load the settings file (-l
), like .bashrc
which could pollute the PATH.
Though it is important to exit if one command fails (-e
).
run: pip install -v --prefer-binary -e '.[tests, examples-tests, geo, hvdev, hvdev-geo, dev-extras]' | ||
- name: pip list | ||
run: pip list | ||
run: python -m pip install -v --prefer-binary -e '.[tests, examples-tests, geo, hvdev, hvdev-geo, dev-extras]' |
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.
Good practice to call python -m pip
, see https://pip.pypa.io/en/stable/cli/pip_install/.
run: python -m pip install -v --prefer-binary -e '.[tests, examples-tests, geo, hvdev, hvdev-geo, dev-extras]' | ||
- name: python version and pip list | ||
run: | | ||
python --version --version |
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.
Just nice to know 🤷
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.
Though, it is available with setup-python.
You can revert it if you want to.
See failing test here: https://github.com/holoviz/hvplot/actions/runs/11600853910/job/32302285188